From f3ebc8e429f2084d96977f34c69fc7e766865d0b Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 13 Jul 2026 18:33:16 +0200 Subject: [PATCH] Fix multi-sample manifest aggregation --- backend/tests/test_sprint178_mol_operational_pack.py | 1 + scripts/run_multi_sample_detection_quality_matrix.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/tests/test_sprint178_mol_operational_pack.py b/backend/tests/test_sprint178_mol_operational_pack.py index 11b3b45b..6d02b5f5 100644 --- a/backend/tests/test_sprint178_mol_operational_pack.py +++ b/backend/tests/test_sprint178_mol_operational_pack.py @@ -97,6 +97,7 @@ def test_real_data_matrix_propagates_project_region_and_persisted_area() -> None assert 'REAL_AREA_NAME="${sample_slug} AOI"' in multi assert 'project_region="Mol, Kempen"' in multi assert 'REAL_PROJECT_REGION="${project_region}"' in multi + assert 'manifest_path = Path(sys.argv[3])' in multi def test_mol_operational_runner_uses_real_positive_qa_and_background_paths() -> None: diff --git a/scripts/run_multi_sample_detection_quality_matrix.sh b/scripts/run_multi_sample_detection_quality_matrix.sh index a3bdd714..bdc0772b 100644 --- a/scripts/run_multi_sample_detection_quality_matrix.sh +++ b/scripts/run_multi_sample_detection_quality_matrix.sh @@ -167,7 +167,7 @@ from pathlib import Path output_dir = Path(sys.argv[1]) base_url = sys.argv[2] -manifest_path = sys.argv[3] +manifest_path = Path(sys.argv[3]) manifest_payload = json.loads(manifest_path.read_text(encoding="utf-8-sig")) manifest_samples = { str(sample.get("sample_slug") or "").lower(): sample