Skip to content

Commit 86e67b6

Browse files
dweindldilpath
andauthored
Update petab/v2/core.py
Co-authored-by: Dilan Pathirana <[email protected]>
1 parent c9dec65 commit 86e67b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

petab/v2/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ def __iadd__(self, other: ExperimentPeriod) -> Experiment:
555555
self.periods.append(other)
556556
return self
557557

558-
def has_steady_state_presimulation(self) -> bool:
559-
"""Check if the experiment has a steady-state pre-simulation."""
558+
def has_preequilibration(self) -> bool:
559+
"""Check if the experiment has preequilibration enabled."""
560560
return any(period.time == -np.inf for period in self.periods)
561561

562562
def sort_periods(self) -> None:

0 commit comments

Comments
 (0)