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

PetabImporter: version-specific amici model directories #1283

Merged
merged 3 commits into from
Jan 16, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jan 16, 2024

Use different directories for models from different amici versions (e.g., amici_models/0.20.0/{model_name} instead of amici_models/{model_name}). Allows switching between amici versions without version errors or re-importing the model.

(We could also include the architecture, if considered helpful.)

Use different directories for models from different amici versions
(e.g., `amici_models/0.20.0/{model_name}` instead of `amici_models/{model_name}`).
Allows switching between amici versions without version errors or re-importing the model.
@dweindl dweindl self-assigned this Jan 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7229c35) 84.33% compared to head (1b4f8d5) 67.85%.

Files Patch % Lines
pypesto/petab/importer.py 66.66% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1283       +/-   ##
============================================
- Coverage    84.33%   67.85%   -16.49%     
============================================
  Files          152      152               
  Lines        12420    12420               
============================================
- Hits         10474     8427     -2047     
- Misses        1946     3993     +2047     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dweindl dweindl marked this pull request as ready for review January 16, 2024 13:32
Copy link
Contributor

@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 b455307 into ICB-DCM:develop Jan 16, 2024
18 checks passed
@dweindl dweindl deleted the model_dir_amici_version branch January 16, 2024 18:28
This was referenced Jan 30, 2024
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.

3 participants