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

simulate_petab: Avoid warning when simulating with default parameters #2265

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jan 16, 2024

Fixes a "unused parameters" warning when using simulate_petab with default parameters. By default, fixed parameters are hard-coded during parameter mapping, and thus, must not be passed to fill_in_edatas later on. This warning was swallowed until recently (#2243).

Fixes a "unused parameters" warning when using simulate_petab with default parameters.
By default, fixed parameters are hard-coded during parameter mapping, and thus,
must not be passed to `fill_in_edatas` later on. This warning was swallowed until recently (AMICI-dev#2243).
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3efd9f9) 48.30% compared to head (ed9edaf) 77.04%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #2265       +/-   ##
============================================
+ Coverage    48.30%   77.04%   +28.74%     
============================================
  Files           92       92               
  Lines        14988    14987        -1     
============================================
+ Hits          7240    11547     +4307     
+ Misses        7748     3440     -4308     
Flag Coverage Δ
cpp 74.02% <ø> (?)
cpp_python 37.36% <ø> (ø)
petab 52.89% <100.00%> (-0.01%) ⬇️
python 77.90% <57.14%> (+15.74%) ⬆️
sbmlsuite ?

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

Files Coverage Δ
python/sdist/amici/petab/simulations.py 92.70% <100.00%> (-0.08%) ⬇️

... and 60 files with indirect coverage changes

@dweindl dweindl marked this pull request as ready for review January 16, 2024 11:35
@dweindl dweindl requested a review from a team as a code owner January 16, 2024 11:35
@dweindl
Copy link
Member Author

dweindl commented Jan 16, 2024

Reviewed as part of #2255

@dweindl dweindl merged commit f16a4ab into AMICI-dev:develop Jan 16, 2024
@dweindl dweindl deleted the fix_simulate_petab_nominal branch January 16, 2024 15:43
@dweindl dweindl removed the request for review from a team January 16, 2024 15:43
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.

1 participant