From d084a9ae0f84da0d57d16f5bf333e939ef6649e9 Mon Sep 17 00:00:00 2001 From: Ben Gyori Date: Thu, 6 Jul 2023 16:48:15 -0400 Subject: [PATCH] Fix controller of infection Fixes #192 --- notebooks/hackathon_2023.07/scenario1.ipynb | 2 +- notebooks/hackathon_2023.07/scenario1_a.json | 22 ++++++++++---------- notebooks/hackathon_2023.07/scenario1_c.json | 22 ++++++++++---------- notebooks/hackathon_2023.07/scenario1_d.json | 22 ++++++++++---------- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/notebooks/hackathon_2023.07/scenario1.ipynb b/notebooks/hackathon_2023.07/scenario1.ipynb index 99a5e4bdf..dd86c0731 100644 --- a/notebooks/hackathon_2023.07/scenario1.ipynb +++ b/notebooks/hackathon_2023.07/scenario1.ipynb @@ -94,7 +94,7 @@ "\n", "t1 = ControlledConversion(subject=c['S'],\n", " outcome=c['E'],\n", - " controller=c['E'],\n", + " controller=c['I'],\n", " rate_law=S*I*beta / N)\n", "t2 = NaturalConversion(subject=c['E'],\n", " outcome=c['I'],\n", diff --git a/notebooks/hackathon_2023.07/scenario1_a.json b/notebooks/hackathon_2023.07/scenario1_a.json index 2ce954672..9f1cf0f3b 100644 --- a/notebooks/hackathon_2023.07/scenario1_a.json +++ b/notebooks/hackathon_2023.07/scenario1_a.json @@ -20,8 +20,8 @@ } }, { - "id": "E", - "name": "E", + "id": "I", + "name": "I", "grounding": { "identifiers": {}, "modifiers": {} @@ -32,8 +32,8 @@ } }, { - "id": "I", - "name": "I", + "id": "E", + "name": "E", "grounding": { "identifiers": {}, "modifiers": {} @@ -72,11 +72,11 @@ { "id": "t1", "input": [ - "E", + "I", "S" ], "output": [ - "E", + "I", "E" ], "properties": { @@ -151,16 +151,16 @@ "expression": "5599999.00000000", "expression_mathml": "5599999.0" }, - { - "target": "E", - "expression": "1.00000000000000", - "expression_mathml": "1.0" - }, { "target": "I", "expression": "0.0", "expression_mathml": "0.0" }, + { + "target": "E", + "expression": "1.00000000000000", + "expression_mathml": "1.0" + }, { "target": "R", "expression": "0.0", diff --git a/notebooks/hackathon_2023.07/scenario1_c.json b/notebooks/hackathon_2023.07/scenario1_c.json index 0511f2622..ac92a8268 100644 --- a/notebooks/hackathon_2023.07/scenario1_c.json +++ b/notebooks/hackathon_2023.07/scenario1_c.json @@ -20,8 +20,8 @@ } }, { - "id": "E", - "name": "E", + "id": "I", + "name": "I", "grounding": { "identifiers": {}, "modifiers": {} @@ -32,8 +32,8 @@ } }, { - "id": "I", - "name": "I", + "id": "E", + "name": "E", "grounding": { "identifiers": {}, "modifiers": {} @@ -72,11 +72,11 @@ { "id": "t1", "input": [ - "E", + "I", "S" ], "output": [ - "E", + "I", "E" ], "properties": { @@ -151,16 +151,16 @@ "expression": "5599999.00000000", "expression_mathml": "5599999.0" }, - { - "target": "E", - "expression": "1.00000000000000", - "expression_mathml": "1.0" - }, { "target": "I", "expression": "0.0", "expression_mathml": "0.0" }, + { + "target": "E", + "expression": "1.00000000000000", + "expression_mathml": "1.0" + }, { "target": "R", "expression": "0.0", diff --git a/notebooks/hackathon_2023.07/scenario1_d.json b/notebooks/hackathon_2023.07/scenario1_d.json index 0511f2622..ac92a8268 100644 --- a/notebooks/hackathon_2023.07/scenario1_d.json +++ b/notebooks/hackathon_2023.07/scenario1_d.json @@ -20,8 +20,8 @@ } }, { - "id": "E", - "name": "E", + "id": "I", + "name": "I", "grounding": { "identifiers": {}, "modifiers": {} @@ -32,8 +32,8 @@ } }, { - "id": "I", - "name": "I", + "id": "E", + "name": "E", "grounding": { "identifiers": {}, "modifiers": {} @@ -72,11 +72,11 @@ { "id": "t1", "input": [ - "E", + "I", "S" ], "output": [ - "E", + "I", "E" ], "properties": { @@ -151,16 +151,16 @@ "expression": "5599999.00000000", "expression_mathml": "5599999.0" }, - { - "target": "E", - "expression": "1.00000000000000", - "expression_mathml": "1.0" - }, { "target": "I", "expression": "0.0", "expression_mathml": "0.0" }, + { + "target": "E", + "expression": "1.00000000000000", + "expression_mathml": "1.0" + }, { "target": "R", "expression": "0.0",