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

Support event-assignments to compartments that aren't rate rule targets #2425

Merged
merged 5 commits into from
May 7, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented May 6, 2024

Event-assignments to compartments weren't supported yet, now they are.

Compartments that are targets of event assignments are now processed as "species", the same way as it is already done for parameters that are targets of event assignments.

Closes #2424.

Event-assignments to compartments weren't supported yet, now they are.

Compartments that are targets of event assignments are now processed as "species",
the same way as it is already done for parameters that are targets of event assignments.

Closes AMICI-dev#2424.
Copy link

codecov bot commented May 6, 2024

Codecov Report

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

Project coverage is 77.65%. Comparing base (0464b83) to head (00ae593).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2425      +/-   ##
===========================================
- Coverage    77.66%   77.65%   -0.02%     
===========================================
  Files          324      324              
  Lines        20902    20915      +13     
  Branches      1464     1464              
===========================================
+ Hits         16233    16241       +8     
- Misses        4666     4671       +5     
  Partials         3        3              
Flag Coverage Δ
cpp 73.43% <84.61%> (-0.01%) ⬇️
cpp_python 34.09% <23.07%> (-0.01%) ⬇️
petab 36.66% <23.07%> (-0.02%) ⬇️
python 72.18% <84.61%> (-0.01%) ⬇️

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

Files Coverage Δ
python/sdist/amici/sbml_import.py 79.73% <84.61%> (-0.27%) ⬇️

@dweindl dweindl self-assigned this May 6, 2024
@dweindl dweindl changed the title Support event-assignments to compartments Support event-assignments to compartments that aren't rate rule targets May 6, 2024
@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
python/sdist/amici/sbml_import.py Outdated Show resolved Hide resolved
@dweindl dweindl merged commit 41d19bb into AMICI-dev:develop May 7, 2024
25 of 26 checks passed
@dweindl dweindl deleted the ft_event_compartments branch May 7, 2024 11:17
@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.

Support event-assignments to compartments
2 participants