Commit 85772cf5 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix bug in generate_test.py

parent 2db3074f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)
@@ -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