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_cls #1833

Merged
merged 3 commits into from
Jul 20, 2022
Merged

fix_cls #1833

merged 3 commits into from
Jul 20, 2022

Conversation

FFroehlich
Copy link
Member

Fixes an issue where flattening would end up in an infinite loop due to coefficients of a cl state being 0.0. Harmonizing checks should be future proof.

@FFroehlich FFroehlich added python PySB PySB import related labels Jul 18, 2022
@FFroehlich FFroehlich requested a review from dweindl July 18, 2022 15:48
Copy link
Member

@dweindl dweindl left a comment

Choose a reason for hiding this comment

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

👍

@codecov
Copy link

codecov bot commented Jul 18, 2022

Codecov Report

Merging #1833 (2d26218) into develop (b620239) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1833      +/-   ##
===========================================
+ Coverage    76.02%   76.10%   +0.07%     
===========================================
  Files           74       74              
  Lines        12673    12676       +3     
===========================================
+ Hits          9635     9647      +12     
+ Misses        3038     3029       -9     
Flag Coverage Δ
cpp 72.72% <ø> (+0.10%) ⬆️
petab 59.48% <28.57%> (-0.02%) ⬇️
python 68.37% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
python/amici/pysb_import.py 94.61% <100.00%> (+0.04%) ⬆️
src/solver_cvodes.cpp 70.18% <0.00%> (-0.17%) ⬇️
src/sundials_matrix_wrapper.cpp 80.65% <0.00%> (+0.40%) ⬆️
src/amici.cpp 71.73% <0.00%> (+4.34%) ⬆️
src/exception.cpp 81.08% <0.00%> (+5.40%) ⬆️

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@FFroehlich FFroehlich merged commit 00a59ef into develop Jul 20, 2022
@FFroehlich FFroehlich deleted the fix_pysb_cls branch July 20, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PySB PySB import related python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants