From 1ed3c5febdaafa80200186fe7ce0cc48c1c5c708 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 3 Dec 2024 07:25:05 -0800 Subject: [PATCH] fix small bug in simple dataset config `get_paths` gets the paths per dataset by searching for "raw", but should return the path to the dataset containing raw --- dacapo/experiments/datasplits/simple_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dacapo/experiments/datasplits/simple_config.py b/dacapo/experiments/datasplits/simple_config.py index 9ee88283..ab211cae 100644 --- a/dacapo/experiments/datasplits/simple_config.py +++ b/dacapo/experiments/datasplits/simple_config.py @@ -45,7 +45,7 @@ def get_paths(self, group_name: str) -> list[Path]: ), f"Found raw data at {level_1} and {level_2}" return [Path(x).parent for x in level_1_matches] elif len(level_2_matches) > 0: - return [Path(x) for x in level_2_matches] + return [Path(x).parent for x in level_2_matches] raise Exception(f"No raw data found at {level_0} or {level_1} or {level_2}")