Skip to content

Commit 5990276

Browse files
committed
Merge branch 'main' of github.com:stochss/gillespy2 into develop
2 parents b53c3e2 + f1957c6 commit 5990276

3 files changed

Lines changed: 38 additions & 3 deletions

File tree

.readthedocs.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
# You can also specify other tool versions:
13+
# nodejs: "20"
14+
# rust: "1.70"
15+
# golang: "1.20"
16+
17+
# Build documentation in the "docs/" directory with Sphinx
18+
sphinx:
19+
configuration: docs/conf.py
20+
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21+
# builder: "dirhtml"
22+
# Fail on all warnings to avoid broken references
23+
# fail_on_warning: true
24+
25+
# Optionally build your docs in additional formats such as PDF and ePub
26+
# formats:
27+
# - pdf
28+
# - epub
29+
30+
# Optional but recommended, declare the Python requirements required
31+
# to build your documentation
32+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33+
# python:
34+
# install:
35+
# - requirements: docs/requirements.txt

docs/getting_started/basic_usage/basic_usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ In GillesPy2, a model is expressed as an object. Components, such as the reacti
5555
model.add_reaction([r_c, r_d])
5656
5757
# Set the timespan for the simulation.
58-
tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
58+
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
5959
model.timespan(tspan)
6060
return model
6161
@@ -126,7 +126,7 @@ First, let's define a simple model to use in this example.
126126
model.add_reaction([r1,r2,r3])
127127
128128
# Set the timespan for the simulation.
129-
tspan = gillespy2.TimeSpan.linspace(0, 600, 601)
129+
tspan = gillespy2.TimeSpan.linspace(t=600, num_points=601)
130130
model.timespan(tspan)
131131
return model
132132

docs/tutorials/tut_toggle_switch/tut_toggle_switch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Next, we define a model. This is a model based on a publication by Gardner et al
4242
rate=mu)
4343
model.add_reaction([cu, cv, du, dv])
4444
45-
tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
45+
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
4646
model.timespan(tspan)
4747
return model
4848

0 commit comments

Comments
 (0)