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

Remove deprecated functionality for PEtab import from individual files instead of petab.Problem #2459

Merged
merged 4 commits into from
Jun 16, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jun 16, 2024

Since almost two years, it's possible to pass a petab.Problem, which is safer
and more convenient.
Omitting the parameter table for model import (since there is no option to supply
this) is likely to produce unwanted results (see #2458 and #2455 for more details),
and therefore, this functionality is best removed.

Closes #2458

After #2392

dweindl added 4 commits June 16, 2024 16:37
Fixes `AttributeError: `np.infty` was removed in the NumPy 2.0 release. Use `np.inf` instead.`
…s instead of petab.Problem

Since almost two years, it's possible to pass a `petab.Problem`, which is safer
and more convenient.
Omitting the parameter table for model import (since there is no option to supply
this) is likely to produce unwanted results (see AMICI-dev#2458 and AMICI-dev#2455 for more details),
and therefore, this functionality is best removed.
@dweindl dweindl requested a review from a team as a code owner June 16, 2024 14:58
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: pypi/[email protected], pypi/[email protected]

View full report↗︎

@dweindl dweindl mentioned this pull request Jun 16, 2024
2 tasks
@dweindl dweindl self-assigned this Jun 16, 2024
Copy link

codecov bot commented Jun 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.66%. Comparing base (6277a5e) to head (3637854).
Report is 27 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2459   +/-   ##
========================================
  Coverage    36.66%   36.66%           
========================================
  Files          103      103           
  Lines        14881    14881           
  Branches      1388     1388           
========================================
  Hits          5456     5456           
  Misses        9116     9116           
  Partials       309      309           
Flag Coverage Δ
petab 36.66% <ø> (ø)

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

Files with missing lines Coverage Δ
python/sdist/amici/petab/sbml_import.py 54.28% <ø> (ø)

@dweindl dweindl merged commit 3004be6 into AMICI-dev:develop Jun 16, 2024
13 of 20 checks passed
@dweindl dweindl deleted the fix_2458 branch June 16, 2024 16:37
dweindl added a commit to dweindl/AMICI that referenced this pull request Jun 16, 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.

2 participants