Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Nov 18, 2025

This may have been necessary with earlier sympy versions, but I don't think we still need that. Let's not make users wonder where that expression comes from.

Closes #3045.

@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

❌ Patch coverage is 38.09524% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.57%. Comparing base (20b07e9) to head (6e80e41).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
python/sdist/amici/importers/sbml/__init__.py 54.54% 5 Missing ⚠️
models/model_calvetti_py/model_calvetti_py.h 0.00% 1 Missing ⚠️
models/model_dirac_py/model_dirac_py.h 0.00% 1 Missing ⚠️
models/model_events_py/model_events_py.h 0.00% 1 Missing ⚠️
...odel_jakstat_adjoint_py/model_jakstat_adjoint_py.h 0.00% 1 Missing ⚠️
...ls/model_nested_events_py/model_nested_events_py.h 0.00% 1 Missing ⚠️
models/model_neuron_py/model_neuron_py.h 0.00% 1 Missing ⚠️
models/model_robertson_py/model_robertson_py.h 0.00% 1 Missing ⚠️
models/model_steadystate_py/model_steadystate_py.h 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (20b07e9) and HEAD (6e80e41). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (20b07e9) HEAD (6e80e41)
sbmlsuite-jax 3 0
python 8 4
cpp 1 0
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #3057       +/-   ##
===========================================
- Coverage   78.15%   49.57%   -28.59%     
===========================================
  Files         312      312               
  Lines       20643    20647        +4     
  Branches     1499     1499               
===========================================
- Hits        16133    10235     -5898     
- Misses       4500    10304     +5804     
- Partials       10      108       +98     
Flag Coverage Δ
cpp ?
cpp_python 37.22% <38.09%> (-0.03%) ⬇️
petab 45.86% <61.53%> (-0.01%) ⬇️
petab_sciml 13.79% <38.46%> (+<0.01%) ⬆️
python 39.86% <38.09%> (-29.59%) ⬇️
sbmlsuite-jax ?

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

Files with missing lines Coverage Δ
models/model_calvetti_py/dwdw.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_calvetti_py/dxdotdw.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_dirac_py/deltaqB.cpp 0.00% <ø> (ø)
models/model_dirac_py/dxdotdp_explicit.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_dirac_py/dxdotdx_explicit.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_dirac_py/xdot.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_events_py/deltaqB.cpp 0.00% <ø> (ø)
models/model_events_py/deltaxB.cpp 0.00% <ø> (ø)
models/model_events_py/dxdotdp_explicit.cpp 0.00% <ø> (-100.00%) ⬇️
models/model_events_py/dxdotdx_explicit.cpp 0.00% <ø> (-100.00%) ⬇️
... and 28 more

... and 183 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dweindl
Copy link
Member Author

dweindl commented Nov 18, 2025

This may have been necessary with earlier sympy versions, but I don't think we still need that.

Almost. sympy.Matrix.row_insert doesn't play nice.

@dweindl dweindl self-assigned this Nov 18, 2025
@dweindl dweindl force-pushed the no_flux_r0 branch 2 times, most recently from a876228 to 1cbe6b3 Compare November 18, 2025 20:28
This may have been necessary with earlier sympy versions, but I don't think we still need that.
Let's not make users wonder where that expression comes from.

Closes AMICI-dev#3045.
@dweindl
Copy link
Member Author

dweindl commented Nov 20, 2025

The stored test results need updating because w changed. The rest is working.

@dweindl dweindl marked this pull request as ready for review November 20, 2025 10:22
@dweindl dweindl requested a review from a team as a code owner November 20, 2025 10:22
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.

Remove auto-generated flux_r0 expression in SBML models without reactions

2 participants