Skip to content

Commit fc31a50

Browse files
committed
review
1 parent 3212482 commit fc31a50

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

petab/v2/C.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#: Time value that indicates steady-state measurements
2323
TIME_STEADY_STATE = _math.inf
2424

25+
#: Time value that indicates pre-equilibration in the experiments table
26+
TIME_PREEQUILIBRATION = -_math.inf
27+
2528
#: Observable parameters column in the measurement table
2629
OBSERVABLE_PARAMETERS = "observableParameters"
2730

petab/v2/petab1to2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def create_experiment_id(sim_cond_id: str, preeq_cond_id: str) -> str:
131131
{
132132
v2.C.EXPERIMENT_ID: exp_id,
133133
v2.C.CONDITION_ID: preeq_cond_id,
134-
v2.C.TIME: float("-inf"),
134+
v2.C.TIME: v2.C.TIME_PREEQUILIBRATION,
135135
}
136136
)
137137
experiments.append(

0 commit comments

Comments
 (0)