Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading preequilibration failure messages #2181

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Fix misleading preequilibration failure messages #2181

merged 2 commits into from
Oct 30, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Oct 25, 2023

When preequilibration (or finding a steadystate in general) fails, SteadystateProblem::handleSteadyStateFailure produced AMICI simulation failed: Steady state computation failed. First run of Newton solver failed. Simulation to steady state failed: No convergence was achieved. Second run of Newton solver failed., even in cases where no Newton solve or no simulation was attempted. This is confusing and is changed here, so that the message now reflects what has actually happened.

Closes #2178

When preequilibration (or finding a steadystate in general) fails,
`SteadystateProblem::handleSteadyStateFailure` produced
`AMICI simulation failed: Steady state computation failed. First run of Newton solver failed. Simulation to steady state failed: No convergence was achieved. Second run of Newton solver failed.`,
even in cases where no Newton solve or no simulation was attempted.
This is confusing and is changed here, so that the message now reflects what has actually happened.

Closes #2178
@dweindl dweindl changed the title Fix Fix misleading preequilibration failure messages Fix misleading preequilibration failure messages Oct 25, 2023
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Merging #2181 (24c37c3) into develop (fb2a101) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2181   +/-   ##
========================================
  Coverage    53.93%   53.93%           
========================================
  Files           34       34           
  Lines         5625     5625           
========================================
  Hits          3034     3034           
  Misses        2591     2591           
Flag Coverage Δ
petab 53.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@dweindl dweindl marked this pull request as ready for review October 25, 2023 09:18
@dweindl dweindl requested a review from a team as a code owner October 25, 2023 09:18
Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dweindl dweindl self-assigned this Oct 30, 2023
@dweindl dweindl merged commit 492e480 into develop Oct 30, 2023
16 checks passed
@dweindl dweindl deleted the fix_2178 branch October 30, 2023 12:07
@dweindl dweindl linked an issue Nov 20, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix misleading preequilibration failure messages
2 participants