File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -202,19 +202,6 @@ def _convert_experiment(self, experiment: Experiment):
202202 add_sbml_parameter (model , id_ = exp_ind_id , constant = False , value = 0 )
203203 kept_periods = []
204204 for i_period , period in enumerate (experiment .periods ):
205- # check for non-zero initial times of the first period
206- if (i_period == int (has_preequilibration )) and period .time != 0 :
207- # TODO: we could address that by offsetting all occurrences of
208- # the SBML time in the model (except for the newly added
209- # events triggers). Or we better just leave it to the
210- # simulator -- we anyways keep the first period in the
211- # returned Problem.
212- raise NotImplementedError (
213- f"The initial simulation time for experiment "
214- f"`{ experiment .id } ` is nonzero: `{ period .time } `. "
215- "This cannot be represented in SBML."
216- )
217-
218205 if period .is_preequilibration :
219206 # pre-equilibration cannot be represented in SBML,
220207 # so we need to keep this period in the Problem.
You can’t perform that action at this time.
0 commit comments