-
Notifications
You must be signed in to change notification settings - Fork 32
separate out importer code #3023
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3023 +/- ##
==========================================
- Coverage 78.03% 78.01% -0.02%
==========================================
Files 311 311
Lines 20584 20584
Branches 1499 1500 +1
==========================================
- Hits 16063 16059 -4
- Misses 4511 4515 +4
Partials 10 10
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
dweindl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| ) | ||
| from .exporters.sundials.cxxcodeprinter import csc_matrix | ||
| from .import_utils import ( | ||
| from .importers.utils import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay for now, but I'd say we should make the core symbolic code not import anything from amici.importers, only vice verse. Can be addressed when moving de_model.py.
| from toposort import toposort | ||
|
|
||
| from ...import_utils import symbol_with_assumptions | ||
| from amici.importers.utils import symbol_with_assumptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to above, amici.exporters should not import anything from amici.importers, only from the symbolic middle layer.



No description provided.