Skip to content

Commit 799b906

Browse files
committed
fixup
1 parent 2ca8d13 commit 799b906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petab/v2/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _convert_experiment(self, experiment: Experiment):
210210
# we always keep the first non-pre-equilibration period
211211
# to set the indicator parameters
212212
kept_periods.append(period)
213-
elif not period.changes:
213+
elif not period.condition_ids:
214214
# no condition, no changes, no need for an event,
215215
# no need to keep the period unless it's the pre-equilibration
216216
# or the only non-equilibration period (handled above)

0 commit comments

Comments
 (0)