You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
The primary method of user-facing interaction for this service is done through the use of a high-level "notebook" api called `bio_check`.
13
13
A convenient notebook demonstrating the functionality of this service is hosted on Google Colab and can be accessed by clicking the above "Open In Colab" badge.
14
14
15
-
[View the template notebook as markdown](docs/verification_api_demo.md)
15
+
[View the template notebook as markdown](documentation/verification_api_demo.md)
16
16
17
17
18
18
Installation of this tooling can be performed using PyPI as such:
Copy file name to clipboardExpand all lines: bio_compose/runner.py
+22-25
Original file line number
Diff line number
Diff line change
@@ -14,22 +14,20 @@ class SimulationRunner(Api):
14
14
submitted_jobs: List[Dict]
15
15
16
16
def__init__(self):
17
-
"""A new instance of the Verifier class. NOTE: this may clash with your record keeping in a notebook, so it is highly recommended that users
18
-
treat instances of this class as quasi-singletons, although not necessary for fundamental interaction.
17
+
"""A new instance of the Verifier class. NOTE: this may clash with your record keeping in a notebook, so it is highly recommended that users treat instances of this class as quasi-singletons, although not necessary for fundamental interaction.
"""Run a smoldyn simulation using a standard Smoldyn configuration file. Please see https://www.smoldyn.org/SmoldynManual.pdf for more information on running
24
-
simulations with Smoldyn.
22
+
"""Run a smoldyn simulation using a standard Smoldyn configuration file. Please see https://www.smoldyn.org/SmoldynManual.pdf for more information on running simulations with Smoldyn.
25
23
26
-
Args:
27
-
smoldyn_configuration_filepath:`str`: The path to the Smoldyn configuration file for the given model simulation.
28
-
duration:`int`: The duration of the simulation. If `None` is passed, duration inference will be attempted using `time_stop` parameter within the Smoldyn configuration. Defaults to `None`.
29
-
dt:`float`: The timestep to use within the Smoldyn simulation. If `None` is passed, dt inference will be attempted using the `.dt` parameter of the loaded Smoldyn simulation. Defaults to `None`.
24
+
Args:
25
+
smoldyn_configuration_filepath:`str`: The path to the Smoldyn configuration file for the given model simulation.
26
+
duration:`int`: The duration of the simulation. If `None` is passed, duration inference will be attempted using `time_stop` parameter within the Smoldyn configuration. Defaults to `None`.
27
+
dt:`float`: The timestep to use within the Smoldyn simulation. If `None` is passed, dt inference will be attempted using the `.dt` parameter of the loaded Smoldyn simulation. Defaults to `None`.
30
28
31
-
Returns:
32
-
The response for the Smoldyn simulation submission request.
29
+
Returns:
30
+
The response for the Smoldyn simulation submission request.
"""Run a Smoldyn simulation and generate a Simularium trajectory from the aforementioned simulation's outputs.
86
84
87
-
Args:
88
-
smoldyn_output_filepath:`str`: The path to the Smoldyn output file for the given model simulation.
89
-
box_size:`float`: The box size to use for the Simularium trajectory.
90
-
filename:`str`: The name of the Simularium file that is generated. If `None` is passed, a general `'simulation.simularium'` filename will be used.
91
-
Defaults to `None`.
85
+
Args:
86
+
smoldyn_output_filepath:`str`: The path to the Smoldyn output file for the given model simulation.
87
+
box_size:`float`: The box size to use for the Simularium trajectory.
88
+
filename:`str`: The name of the Simularium file that is generated. If `None` is passed, a general `'simulation.simularium'` filename will be used. Defaults to `None`.
92
89
93
-
Returns:
94
-
The response for the Simularium submission request.
90
+
Returns:
91
+
The response for the Simularium submission request.
0 commit comments