Skip to content

Commit 7b3af18

Browse files
bugfix time unit
1 parent 38af93c commit 7b3af18

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/sbmlutils/resources/converters/odefac_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ length: [{{model_units["length"]}}]
3232
3333
# odes
3434
{% for id in xids %}
35-
d {{ id }}/dt = {{dx[id]}} # [{{units[id]}}/{{units["time"]}}] {{names[id]}}
35+
d {{ id }}/dt = {{dx[id]}} # [{{units[id]}}/{{model_units["time"]}}] {{names[id]}}
3636
{% endfor %}
3737
```

src/sbmlutils/validation.py

+1
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def _check_consistency(
316316
if internal_consistency:
317317
count = doc.checkInternalConsistency()
318318
else:
319+
# count = doc.checkConsistency()
319320
count = doc.checkConsistencyWithStrictUnits()
320321

321322
if count > 0:

0 commit comments

Comments
 (0)