Skip to content

Commit

Permalink
bugfix time unit
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskoenig committed Sep 24, 2024
1 parent 38af93c commit 7b3af18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbmlutils/resources/converters/odefac_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ length: [{{model_units["length"]}}]
# odes
{% for id in xids %}
d {{ id }}/dt = {{dx[id]}} # [{{units[id]}}/{{units["time"]}}] {{names[id]}}
d {{ id }}/dt = {{dx[id]}} # [{{units[id]}}/{{model_units["time"]}}] {{names[id]}}
{% endfor %}
```
1 change: 1 addition & 0 deletions src/sbmlutils/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def _check_consistency(
if internal_consistency:
count = doc.checkInternalConsistency()
else:
# count = doc.checkConsistency()
count = doc.checkConsistencyWithStrictUnits()

if count > 0:
Expand Down

0 comments on commit 7b3af18

Please sign in to comment.