From 309476678b9dda6ef899709ea9a4c6b2a1fa1b2a Mon Sep 17 00:00:00 2001 From: alexPatrie Date: Sun, 26 May 2024 19:01:11 -0400 Subject: [PATCH] updates to init --- biosimulator_processes/__init__.py | 1 + biosimulator_processes/steps/ode_simulation.py | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/biosimulator_processes/__init__.py b/biosimulator_processes/__init__.py index e23786aee..2c9815c92 100644 --- a/biosimulator_processes/__init__.py +++ b/biosimulator_processes/__init__.py @@ -20,6 +20,7 @@ STEPS_TO_REGISTER = [ # ('get_sbml_step', 'get_sbml.GetSbmlStep'), + ('copasi-step', 'ode_simulation.CopasiStep'), ('plotter', 'viz.CompositionPlotter'), ('plotter2d', 'viz.Plotter2d')] diff --git a/biosimulator_processes/steps/ode_simulation.py b/biosimulator_processes/steps/ode_simulation.py index dc42c387d..1f0dbf3c8 100644 --- a/biosimulator_processes/steps/ode_simulation.py +++ b/biosimulator_processes/steps/ode_simulation.py @@ -136,12 +136,9 @@ def update(self, inputs): return results - - - - - - +class TelluriumStep(OdeSimulation): + def __init__(self, sbml_filepath, time_config: dict[str, float], config=None, core=CORE): + super().__init__(sbml_filepath, time_config, config, core) class ODEProcess(RunProcess):