sbmlsim.task.task_new

Task module.

FIXME: add discard flag on subtask; handle via outputEndTime TODO: use pydantic whereever possible

  1. The values of all ranges are calculated before the execution of the repeated task

The order of activities within each iteration of a RepeatedTask is as follows: - The entire model state for any involved Model is reset if specified by the resetModel

attribute

  • Any changes to the model or models specified by SetValue objects in thelistOfChanges are applied to each Model.

Then, for each SubTask child of the RepeatedTask, in the order specified by its order attribute: - Any AlgorithmParameter children of the associated Simulation are applied

(with the possible exception of the seed; see Section 2.2.7.2).

  • Any SetValue children of the SubTask are applied to the relevant Model.

  • The referenced Task of the SubTask is executed.

Module Contents

Classes

Change

Change.

RepeatedTask

RepeatedTask.

Task

Task.

SubTask

Subtask.

class sbmlsim.task.task_new.Change[source]

Change.

model: str[source]
target: str[source]
symbol: str[source]
variables: List[source]
parameters: List[source]
math: str[source]
range: str[source]
class sbmlsim.task.task_new.RepeatedTask[source]

RepeatedTask.

range: str[source]
ranges: [sbmlsim.simulation.Dimension][source]
reset_model: bool[source]
concatenate: bool[source]
class sbmlsim.task.task_new.Task[source]

Task.

model: str[source]
simulation: str[source]
class sbmlsim.task.task_new.SubTask[source]

Subtask.

model: str[source]
simulation: str[source]
changes: List[str][source]
model_changes: List[str][source]
model_manipulations: List[str][source]
order: int[source]
discard: bool = False[source]