Skip to content

Commit

Permalink
BUG: path of metadata file
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 25, 2024
1 parent 5905d13 commit 22f6fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacetop_prep/events/bidsify_social_ENH.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def list_nifti_and_event_files(designated_dir):
return sorted(nifti_files), sorted(event_files)
# /Users/h/Documents/projects_local/spacetop-prep/spacetop_prep/events/spacetop_task-social_run-metadata.csv
code_dir = Path(__file__).resolve().parent
metadata_df = pd.read_csv(join(code_dir, 'events', 'spacetop_task-social_run-metadata.csv'))
metadata_df = pd.read_csv(join(code_dir, 'spacetop_task-social_run-metadata.csv'))

def get_task_type(bids_string, metadata_df):
fname = Path(bids_string).name
Expand Down

0 comments on commit 22f6fd6

Please sign in to comment.