Skip to content

Commit

Permalink
BUG: extract metadata path
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 26, 2024
1 parent 6216c1b commit e04b47f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spacetop_prep/events/bidsify_social_factorize_ENH.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ def main():
task_names = ['cognitive', 'pain', 'vicarious']
logger_dict = {task: setup_logger(task, f'task-social_{task}.log') for task in task_names}
code_dir = Path(__file__).resolve().parent
metadata_df = pd.read_csv(join(code_dir, 'spacetop_task-social_run-metadata.csv'))
print(code_dir)
metadata_df = pd.read_csv(join(code_dir, 'spacetop_task-social_run-metadata.csv'))

if args.bids_string is not None:
task_name = get_task_type(args.bids_string, metadata_df)
Expand Down

0 comments on commit e04b47f

Please sign in to comment.