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

PEtab: fix missing parameters in fill_in_parameters #2449

Merged
merged 3 commits into from
May 15, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented May 15, 2024

Allows providing only a subset of parameter to simulate_petab. The missing parameters are taken from nominalValues in the parameter table.

Fixes #2444. Nevertheless, exclude Lang_PLOSComputBiol2024 to save time.

The warning/error in AMICI-dev#2444 is caused by `petab.parameters.scale()`.
Whether this warning should be suppressed there or not is to discussed in the PEtab context.
For amici, I'd say we're fine with just accepting `np.log(0) == -inf` without a warnings.

Closes AMICI-dev#2444.
Allows providing only a subset of parameter to simulate_petab. The missing parameters are taken from nominalValues in the parameter table.

Fixes AMICI-dev#2444
@dweindl dweindl self-assigned this May 15, 2024
Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.64%. Comparing base (a63b016) to head (15ceecd).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2449   +/-   ##
========================================
  Coverage    77.64%   77.64%           
========================================
  Files          324      324           
  Lines        20928    20930    +2     
  Branches      1464     1464           
========================================
+ Hits         16249    16251    +2     
  Misses        4676     4676           
  Partials         3        3           
Flag Coverage Δ
cpp 73.41% <0.00%> (-0.01%) ⬇️
cpp_python 34.10% <87.50%> (+0.01%) ⬆️
petab 36.66% <100.00%> (+<0.01%) ⬆️
python 72.19% <87.50%> (+0.01%) ⬆️

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

Files Coverage Δ
python/sdist/amici/petab/simulations.py 92.85% <100.00%> (+0.14%) ⬆️

@dweindl dweindl marked this pull request as ready for review May 15, 2024 16:27
@dweindl dweindl requested a review from a team as a code owner May 15, 2024 16:27
Copy link
Member

@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 44ed074 into AMICI-dev:develop May 15, 2024
20 checks passed
@dweindl dweindl deleted the fix_petab_cond_par branch May 15, 2024 16:33
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.

None yet

2 participants