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 handling of event assignments to compartments #2428

Merged
merged 2 commits into from
May 7, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented May 6, 2024

Previously, in some cases (see #2426), event assignments to compartments would result in incorrect concentrations because an incorrect post-event volume was used. This is fixed here.

Closes #2426.

Previously, in some cases (see AMICI-dev#2426), event assignments to compartments
would result in incorrect concentrations because an incorrect post-event
volume was used. This is fixed here.

Closes AMICI-dev#2426.
@dweindl dweindl self-assigned this May 6, 2024
Copy link

codecov bot commented May 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 36.67%. Comparing base (da19a55) to head (d235b42).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #2428       +/-   ##
============================================
- Coverage    77.60%   36.67%   -40.94%     
============================================
  Files          324      103      -221     
  Lines        20902    14856     -6046     
  Branches      1464     1388       -76     
============================================
- Hits         16222     5449    -10773     
- Misses        4677     9098     +4421     
- Partials         3      309      +306     
Flag Coverage Δ
cpp ?
cpp_python ?
petab 36.67% <0.00%> (ø)
python ?

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

Files Coverage Δ
python/sdist/amici/sbml_import.py 62.90% <0.00%> (-15.87%) ⬇️

... and 288 files with indirect coverage changes

@dweindl dweindl marked this pull request as ready for review May 6, 2024 21:09
@dweindl dweindl requested a review from a team as a code owner May 6, 2024 21:09
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 merged commit 0464b83 into AMICI-dev:develop May 7, 2024
19 of 26 checks passed
@dweindl dweindl deleted the fix_2426_eventassign_comp branch May 7, 2024 10:27
@dweindl dweindl linked an issue May 7, 2024 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.

Incorrect handling of event assignments to compartments
2 participants