From 8c8042c5aaa2f62fd8744b9b0531eeaeebda95b3 Mon Sep 17 00:00:00 2001 From: mnjowe Date: Mon, 4 Sep 2023 09:29:52 +0200 Subject: [PATCH] uncommenting some blocks of code --- src/scripts/copd_analyses/copd_calibrations.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/scripts/copd_analyses/copd_calibrations.py b/src/scripts/copd_analyses/copd_calibrations.py index 64382f3a0a..146939c948 100644 --- a/src/scripts/copd_analyses/copd_calibrations.py +++ b/src/scripts/copd_analyses/copd_calibrations.py @@ -283,15 +283,14 @@ def get_simulation(popsize): # run simulation and store logfile path -# sim = get_simulation(50000) -# path_to_logfile = sim.log_filepath -path_to_logfile = Path('./outputs/copd_analyses__2023-08-24T170704.log') +sim = get_simulation(50000) +path_to_logfile = sim.log_filepath # initialise Copd analyses class copd_analyses = CopdCalibrations(logfile_path=path_to_logfile) # plot lung function categories per each category -# copd_analyses.copd_prevalence() +copd_analyses.copd_prevalence() # Examine rate of death by lung function copd_analyses.rate_of_death_by_lungfunction_category()