Skip to content

Commit

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

if not filtered_cognitive_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_cognitive_flist = [str(temp_fpath)]
else:
Expand Down

0 comments on commit 64b32f4

Please sign in to comment.