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

Refactor de_export.py, extract _codegen.model_class #2319

Merged
merged 4 commits into from
Feb 28, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Feb 26, 2024

Move functionality for generating the amici::Model subclass code to a separate file.

Related to #2306

@dweindl dweindl self-assigned this Feb 26, 2024
Move everything related to information on C++ model functions to a separate module.

Related to AMICI-dev#2306.

No changes in functionality.
Move functionality for generating the ``amici::Model`` subclass code to a separate file.

Related to AMICI-dev#2306
@dweindl dweindl marked this pull request as ready for review February 27, 2024 13:02
@dweindl dweindl requested a review from a team as a code owner February 27, 2024 13:02
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 36.90%. Comparing base (b4ab8a2) to head (86433eb).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #2319       +/-   ##
============================================
- Coverage    77.88%   36.90%   -40.99%     
============================================
  Files          322      102      -220     
  Lines        20678    14642     -6036     
  Branches      1440     1364       -76     
============================================
- Hits         16105     5403    -10702     
- Misses        4570     8934     +4364     
- Partials         3      305      +302     
Flag Coverage Δ
cpp ?
cpp_python ?
petab 36.90% <77.77%> (ø)
python ?
sbmlsuite ?

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

Files Coverage Δ
python/sdist/amici/de_export.py 78.54% <ø> (-15.62%) ⬇️
python/sdist/amici/_codegen/model_class.py 77.77% <77.77%> (ø)

... and 286 files with indirect coverage changes

@dweindl dweindl merged commit 85e35ae into AMICI-dev:develop Feb 28, 2024
19 of 26 checks passed
@dweindl dweindl deleted the refactor_deexport_modelclass branch February 28, 2024 09:25
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