Skip to content

Commit

Permalink
Merge pull request #1351 from StochSS/develop
Browse files Browse the repository at this point in the history
Patch Release
  • Loading branch information
briandrawert authored Aug 16, 2022
2 parents 4947d9a + e8d7620 commit 16c468c
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion __version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# @website https://github.com/stochss/stochss
# =============================================================================

__version__ = '2.4.8'
__version__ = '2.4.9'
__title__ = 'StochSS'
__description__ = 'StochSS is an integrated development environment (IDE) \
for simulation of biochemical networks.'
Expand Down
2 changes: 1 addition & 1 deletion public_models/Degradation/Degradation.mdl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"name": "reaction",
"reactionType": "destruction",
"summary": "protein \\rightarrow \\emptyset",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down
4 changes: 2 additions & 2 deletions public_models/Dimerization/Dimerization.mdl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"name": "r_creation",
"reactionType": "dimerization",
"summary": "2Monomer \\rightarrow Dimer",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down Expand Up @@ -122,7 +122,7 @@
"name": "r_dissociation",
"reactionType": "custom-massaction",
"summary": "Dimer \\rightarrow 2Monomer",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"is_spatial":false,"defaultID":8,"defaultMode":"discrete","annotation":"The SIR model is a simple mathematical model of epidemics. An epidemic is when the number of people infected with a disease is increasing in a population. S, I, and R stand for:\n\nS - susceptible: These are people that are not infected with the disease yet. However, they are not immune to it either and so they can become infected with the disease in the future.\nI - infected or infectious: These are people that are infected with the disease and can transmit the disease to susceptible people.\nR - recovered: These are people who have recovered from the disease and are immune, so they can no longer be infected with the disease.\n\nThis model is reasonably predictive for infectious diseases that are transmitted from human to human, and where recovery confers lasting resistance, such as measles, mumps and rubella.\nThese variables (S, I, and R) represent the number of people in each compartment at a particular time. To represent that the number of susceptible, infectious and removed individuals may vary over time (even if the total population size remains constant), we make the precise numbers a function of t (time): S(t), I(t) and R(t). For a specific disease in a specific population, these functions may be worked out in order to predict possible outbreaks and bring them under control.\nAs implied by the variable function of t, the model is dynamic in that the numbers in each compartment may fluctuate over time. The importance of this dynamic aspect is most obvious in an endemic disease with a short infectious period, such as measles in the UK prior to the introduction of a vaccine in 1968. Such diseases tend to occur in cycles of outbreaks due to the variation in number of susceptibles (S(t)) over time. During an epidemic, the number of susceptible individuals falls rapidly as more of them are infected and thus enter the infectious and removed compartments. The disease cannot break out again until the number of susceptibles has built back up, e.g. as a result of offspring being born into the susceptible compartment.\nEach member of the population typically progresses from susceptible to infectious to recovered.","modelSettings":{"endSim":20,"timeStep":0.05,"volume":1},"meshSettings":{"count":2},"species":[{"compID":1,"name":"Susceptible","value":999,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are\n susceptible to infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":3,"name":"Recovered","value":0,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that have recovered from infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}],"initialConditions":[],"parameters":[{"compID":4,"name":"beta","expression":"0.0083","annotation":"Rate at which a Susceptible species becomes infected\n"},{"compID":5,"name":"gamma","expression":"0.3","annotation":"Rate at which an Infected species recovers from the infection.\n\n"}],"reactions":[{"compID":6,"name":"r1","reactionType":"custom-massaction","summary":"Susceptible+Infected \\rightarrow 2Infected","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":4,"name":"beta","expression":"8.3","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"Susceptible","value":999,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are\n susceptible to infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}},{"ratio":1,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":7,"name":"r2","reactionType":"change","summary":"Infected \\rightarrow Recovered","massaction":false,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":5,"name":"gamma","expression":"0.3","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":1,"specie":{"compID":3,"name":"Recovered","value":0,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that have recovered from infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]}],"rules":[],"eventsCollection":[],"functionDefinitions":[]}
{"is_spatial":false,"defaultID":8,"defaultMode":"discrete","annotation":"The SIR model is a simple mathematical model of epidemics. An epidemic is when the number of people infected with a disease is increasing in a population. S, I, and R stand for:\n\nS - susceptible: These are people that are not infected with the disease yet. However, they are not immune to it either and so they can become infected with the disease in the future.\nI - infected or infectious: These are people that are infected with the disease and can transmit the disease to susceptible people.\nR - recovered: These are people who have recovered from the disease and are immune, so they can no longer be infected with the disease.\n\nThis model is reasonably predictive for infectious diseases that are transmitted from human to human, and where recovery confers lasting resistance, such as measles, mumps and rubella.\nThese variables (S, I, and R) represent the number of people in each compartment at a particular time. To represent that the number of susceptible, infectious and removed individuals may vary over time (even if the total population size remains constant), we make the precise numbers a function of t (time): S(t), I(t) and R(t). For a specific disease in a specific population, these functions may be worked out in order to predict possible outbreaks and bring them under control.\nAs implied by the variable function of t, the model is dynamic in that the numbers in each compartment may fluctuate over time. The importance of this dynamic aspect is most obvious in an endemic disease with a short infectious period, such as measles in the UK prior to the introduction of a vaccine in 1968. Such diseases tend to occur in cycles of outbreaks due to the variation in number of susceptibles (S(t)) over time. During an epidemic, the number of susceptible individuals falls rapidly as more of them are infected and thus enter the infectious and removed compartments. The disease cannot break out again until the number of susceptibles has built back up, e.g. as a result of offspring being born into the susceptible compartment.\nEach member of the population typically progresses from susceptible to infectious to recovered.","modelSettings":{"endSim":20,"timeStep":0.05,"volume":1},"meshSettings":{"count":2},"species":[{"compID":1,"name":"Susceptible","value":999,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are\n susceptible to infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":3,"name":"Recovered","value":0,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that have recovered from infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}],"initialConditions":[],"parameters":[{"compID":4,"name":"beta","expression":"0.0083","annotation":"Rate at which a Susceptible species becomes infected\n"},{"compID":5,"name":"gamma","expression":"0.3","annotation":"Rate at which an Infected species recovers from the infection.\n\n"}],"reactions":[{"compID":6,"name":"r1","reactionType":"custom-massaction","summary":"Susceptible+Infected \\rightarrow 2Infected","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":4,"name":"beta","expression":"8.3","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"Susceptible","value":999,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are\n susceptible to infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}},{"ratio":1,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":7,"name":"r2","reactionType":"change","summary":"Infected \\rightarrow Recovered","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":5,"name":"gamma","expression":"0.3","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":2,"name":"Infected","value":1,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that are infected\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":1,"specie":{"compID":3,"name":"Recovered","value":0,"mode":"discrete","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"Initial population of a species that have recovered from infection\n","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]}],"rules":[],"eventsCollection":[],"functionDefinitions":[]}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"is_spatial":false,"defaultID":10,"defaultMode":"continuous","modelSettings":{"endSim":9000,"timeStep":1,"volume":1},"meshSettings":{"count":2},"species":[{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}],"initialConditions":[],"parameters":[{"compID":3,"name":"k1","expression":"0.004","annotation":""},{"compID":4,"name":"k2","expression":"0.5","annotation":""},{"compID":5,"name":"k3","expression":"0.0045","annotation":""}],"reactions":[{"compID":7,"name":"r1","reactionType":"custom-massaction","summary":"R \\rightarrow 2R","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":3,"name":"k1","expression":"0.004","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":8,"name":"r2","reactionType":"custom-massaction","summary":"R+W \\rightarrow 2W","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":4,"name":"k2","expression":"0.5","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}},{"ratio":1,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":9,"name":"r3","reactionType":"destruction","summary":"W \\rightarrow \\emptyset","massaction":false,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":5,"name":"k3","expression":"0.0045","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[]}],"rules":[],"eventsCollection":[],"functionDefinitions":[]}
{"is_spatial":false,"defaultID":10,"defaultMode":"continuous","modelSettings":{"endSim":9000,"timeStep":1,"volume":1},"meshSettings":{"count":2},"species":[{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]},{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}],"initialConditions":[],"parameters":[{"compID":3,"name":"k1","expression":"0.004","annotation":""},{"compID":4,"name":"k2","expression":"0.5","annotation":""},{"compID":5,"name":"k3","expression":"0.0045","annotation":""}],"reactions":[{"compID":7,"name":"r1","reactionType":"custom-massaction","summary":"R \\rightarrow 2R","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":3,"name":"k1","expression":"0.004","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":8,"name":"r2","reactionType":"custom-massaction","summary":"R+W \\rightarrow 2W","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":4,"name":"k2","expression":"0.5","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":1,"name":"R","value":0.0095,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}},{"ratio":1,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[{"ratio":2,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}]},{"compID":9,"name":"r3","reactionType":"destruction","summary":"W \\rightarrow \\emptyset","massaction":true,"propensity":"","annotation":"","subdomains":["subdomain 1:","subdomain 2:"],"rate":{"compID":5,"name":"k3","expression":"0.0045","annotation":""},"reactants":[{"ratio":1,"specie":{"compID":2,"name":"W","value":0.008,"mode":"continuous","switchTol":0.03,"switchMin":100,"isSwitchTol":true,"annotation":"","diffusionCoeff":0,"subdomains":["subdomain 1:","subdomain 2:"]}}],"products":[]}],"rules":[],"eventsCollection":[],"functionDefinitions":[]}
6 changes: 3 additions & 3 deletions public_models/Michaelis_Menten/Michaelis_Menten.mdl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"name": "r1",
"reactionType": "merge",
"summary": "A+B \\rightarrow C",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down Expand Up @@ -176,7 +176,7 @@
"name": "r2",
"reactionType": "split",
"summary": "C \\rightarrow A+B",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down Expand Up @@ -253,7 +253,7 @@
"name": "r3",
"reactionType": "split",
"summary": "C \\rightarrow B+D",
"massaction": false,
"massaction": true,
"propensity": "",
"annotation": "",
"subdomains": [
Expand Down
Loading

0 comments on commit 16c468c

Please sign in to comment.