Skip to content

Fix AttributeError during model import#3200

Draft
dweindl wants to merge 1 commit into
AMICI-dev:mainfrom
dweindl:fix_import
Draft

Fix AttributeError during model import#3200
dweindl wants to merge 1 commit into
AMICI-dev:mainfrom
dweindl:fix_import

Conversation

@dweindl

@dweindl dweindl commented Jul 6, 2026

Copy link
Copy Markdown
Member

Previously, importing a model module would result in an AttributeErrorif no other objects were imported from amici.sim.sundials beforehand.

Previously, importing a model module would result in an `AttributeError`if no other objects were imported from `amici.sim.sundials` beforehand.
@dweindl dweindl self-assigned this Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.36%. Comparing base (9d4ab62) to head (a1c853a).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3200      +/-   ##
==========================================
- Coverage   77.05%   76.36%   -0.69%     
==========================================
  Files         317      317              
  Lines       20903    20903              
  Branches     1484     1484              
==========================================
- Hits        16106    15962     -144     
- Misses       4789     4933     +144     
  Partials        8        8              
Flag Coverage Δ
cpp 71.54% <ø> (-0.06%) ⬇️
cpp_python 36.71% <ø> (ø)
petab 46.78% <ø> (ø)
python 68.30% <ø> (-0.05%) ⬇️
sbmlsuite-jax ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 8 files with indirect coverage changes

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

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