Skip to content

Commit

Permalink
BUG: fix temp path
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 24, 2024
1 parent 4f2fc31 commit 52973bd
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 @@ -787,7 +787,7 @@ def parse_args():
filtered_vicarious_flist = glob.glob(str(Path(beh_inputdir) / sub / '**' / 'task-social' / '**' / f'*{args.bids_string}*.csv'), recursive=True)

if not filtered_vicarious_flist:
temp_fpath = Path(beh_inputdir) / sub / 'task-social' / ses / f'{sub}_{ses}_task-social_{run}*beh_TEMP.csv'
temp_fpath = Path(beh_inputdir) / sub / 'task-social' / ses / f'{sub}_{ses}_task-social_{run}*TEMP*.csv'
if temp_fpath.is_file():
filtered_vicarious_flist = [str(temp_fpath)]
else:
Expand Down

0 comments on commit 52973bd

Please sign in to comment.