diff --git a/lrgasp_consolidation/manage_assessment_data.py b/lrgasp_consolidation/manage_assessment_data.py index 67c21da..4cc6e23 100644 --- a/lrgasp_consolidation/manage_assessment_data.py +++ b/lrgasp_consolidation/manage_assessment_data.py @@ -19,7 +19,7 @@ def define_parameters_from_manifest(manifest_path: str) -> tuple: with open(manifest_path, 'r') as f: manifest = json.load(f) - return manifest['experiment_json'] + return os.path.join(os.path.dirname(manifest_path), manifest['experiment_json']) def main(args): @@ -224,7 +224,7 @@ def generate_manifest(data_dir,output_dir, participant_data, sample): info = [] """ For each of the challenge_id defined: - - Create a path with `output_dir/challenge_id` + - Create a path with `output_dir/sample/challenge_id` If the path already contains data for that challenge, aggregate it if not, create it """