-
Notifications
You must be signed in to change notification settings - Fork 7
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
Simplification of PEtab problems #172
Conversation
Adds some functions to simplify / clean existing PEtab problems: * removing unused conditions * moving parameters that aren't really condition-dependent from the conditions table to the parameters table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 Fine as is except for the PARAMETER_NAME
comment
tests/test_simplify.py
Outdated
"some_parameter": [1.0, 2.0, 3.0], | ||
} | ||
) | ||
expected.set_index(CONDITION_ID, inplace=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use get_condition_df
tests/test_simplify.py
Outdated
NOMINAL_VALUE: [4.0], | ||
ESTIMATE: [0], | ||
}) | ||
expected.set_index(PARAMETER_ID, inplace=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use get_condition_df
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## develop #172 +/- ##
===========================================
+ Coverage 77.50% 78.44% +0.93%
===========================================
Files 29 30 +1
Lines 2601 2649 +48
Branches 594 606 +12
===========================================
+ Hits 2016 2078 +62
+ Misses 430 411 -19
- Partials 155 160 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
Adds some functions to simplify / clean existing PEtab problems: