diff --git a/batch/inference_job_launcher.py b/batch/inference_job_launcher.py index d26c89be8..c6cd39e71 100755 --- a/batch/inference_job_launcher.py +++ b/batch/inference_job_launcher.py @@ -396,7 +396,7 @@ def launch_batch( outcome_modifiers_scenarios = None if config["seir_modifiers"]["scenarios"].exists(): seir_modifiers_scenarios = config["seir_modifiers"]["scenarios"] - if config["outcome_modifiers"]["scenarios"]: + if config["outcome_modifiers"]["scenarios"].exists(): outcome_modifiers_scenarios = config["outcome_modifiers"]["scenarios"] handler.launch(job_name, config_file, seir_modifiers_scenarios, outcome_modifiers_scenarios)