Skip to content

Commit

Permalink
v2.1.6 - Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ESapenaVentura committed Jul 18, 2023
1 parent 360a23f commit 09b6545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lrgasp_consolidation/manage_assessment_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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
"""
Expand Down

0 comments on commit 09b6545

Please sign in to comment.