Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/DALYs.csv

This file was deleted.

Git LFS file not shown
4 changes: 2 additions & 2 deletions resources/ResourceFile_Schisto/District_Params_mansoni.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/ESPEN.csv

This file was deleted.

4 changes: 2 additions & 2 deletions resources/ResourceFile_Schisto/ESPEN_MDA.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/ESPEN_codebook.csv

This file was deleted.

3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/InitialData_haematobium.csv

This file was deleted.

3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/InitialData_mansoni.csv

This file was deleted.

4 changes: 2 additions & 2 deletions resources/ResourceFile_Schisto/LatestData_haematobium.csv
Git LFS file not shown
4 changes: 2 additions & 2 deletions resources/ResourceFile_Schisto/LatestData_mansoni.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/MDA_historical_Coverage.csv

This file was deleted.

3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/Parameters.csv

This file was deleted.

3 changes: 0 additions & 3 deletions resources/ResourceFile_Schisto/Symptoms.csv

This file was deleted.

3 changes: 3 additions & 0 deletions resources/ResourceFile_Schisto/parameter_values.csv
Git LFS file not shown
4 changes: 1 addition & 3 deletions src/scripts/schistosomiasis/baseline_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def modules(self):
bladder_cancer.BladderCancer(resourcefilepath=self.resources),
diarrhoea.Diarrhoea(resourcefilepath=self.resources),
hiv.Hiv(resourcefilepath=self.resources),
schisto.Schisto(resourcefilepath=self.resources,
mda_execute=self.mda_execute,
single_district=self.single_district),
schisto.Schisto(resourcefilepath=self.resources),
stunting.Stunting(resourcefilepath=self.resources),
tb.Tb(resourcefilepath=self.resources),
wasting.Wasting(resourcefilepath=self.resources),
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/schistosomiasis/schisto_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from tlo.util import read_csv_files


def run_simulation(popsize=10000, haem=True, mansoni=True, mda_execute=True):
def run_simulation(popsize=10000, haem=True, mansoni=True):
outputpath = Path("./outputs") # folder for convenience of storing outputs
# The resource files
resourcefilepath = Path("./resources")
Expand All @@ -41,7 +41,7 @@ def run_simulation(popsize=10000, haem=True, mansoni=True, mda_execute=True):
sim.register(healthsystem.HealthSystem())
sim.register(healthburden.HealthBurden())
sim.register(contraception.Contraception())
sim.register(schisto.Schisto(mda_execute=mda_execute))
sim.register(schisto.Schisto())
if haem:
sim.register(schisto.Schisto_Haematobium(symptoms_and_HSI=False))
if mansoni:
Expand All @@ -59,7 +59,7 @@ def run_simulation(popsize=10000, haem=True, mansoni=True, mda_execute=True):
return sim, output


sim, output = run_simulation(popsize=10000, haem=True, mansoni=False, mda_execute=False)
sim, output = run_simulation(popsize=10000, haem=True, mansoni=False)


# ---------------------------------------------------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion src/scripts/schistosomiasis/schisto_calibration_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ def run_simulation(popsize=popsize, mda_execute=True):
healthburden.HealthBurden(),
healthsystem.HealthSystem(),
simplified_births.SimplifiedBirths(),
schisto.Schisto(mda_execute=mda_execute),
schisto.Schisto(),
)

# Override schisto parameters
sim.modules["Schisto"].parameters["mda_execute"] = mda_execute

# initialise the population
sim.make_initial_population(n=popsize)

Expand Down
6 changes: 4 additions & 2 deletions src/scripts/schistosomiasis/schisto_single_run_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ def run_simulation(popsize,
healthsystem.HealthSystem(disable_and_reject_all=hs_disable_and_reject_all,
cons_availability='all'),
simplified_births.SimplifiedBirths(),
schisto.Schisto(mda_execute=mda_execute,
single_district=single_district),
schisto.Schisto(),
)

# Override schisto parameters
sim.modules["Schisto"].parameters["mda_execute"] = mda_execute
sim.modules["Schisto"].parameters["single_district"] = single_district
# sim.modules["Schisto"].parameters["calibration_scenario"] = 0
# sim.modules["Schisto"].parameters["scaleup_WASH"] = 0.0 # 1.0=True
# sim.modules["Schisto"].parameters["scaleup_WASH_start_year"] = 2011
Expand Down
Loading