Loading generate_test.py +2 −1 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ def create_experiment_setup(experiment, lab) -> list[Path]: input_path = base_path.joinpath(f"proc_input_{lab}") output_path = base_path.joinpath(f"proc_output_{lab}") fmt_for_category = IN_FMT_FOR_MASA_EXPS.get(experiment, None) if experiment in EXPERIMENTS_P800: input_path = input_path.joinpath(cat) output_path = output_path.joinpath(cat) Loading Loading @@ -162,7 +163,7 @@ def create_experiment_setup(experiment, lab) -> list[Path]: ) # for MASA, the input format can differ between categories if (fmt_for_category := IN_FMT_FOR_MASA_EXPS.get(experiment, None)) is not None: if fmt_for_category is not None: cfg.input["fmt"] = fmt_for_category[cat] # ensure that necessary directories are there Loading Loading
generate_test.py +2 −1 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ def create_experiment_setup(experiment, lab) -> list[Path]: input_path = base_path.joinpath(f"proc_input_{lab}") output_path = base_path.joinpath(f"proc_output_{lab}") fmt_for_category = IN_FMT_FOR_MASA_EXPS.get(experiment, None) if experiment in EXPERIMENTS_P800: input_path = input_path.joinpath(cat) output_path = output_path.joinpath(cat) Loading Loading @@ -162,7 +163,7 @@ def create_experiment_setup(experiment, lab) -> list[Path]: ) # for MASA, the input format can differ between categories if (fmt_for_category := IN_FMT_FOR_MASA_EXPS.get(experiment, None)) is not None: if fmt_for_category is not None: cfg.input["fmt"] = fmt_for_category[cat] # ensure that necessary directories are there Loading