From 64b32f444131bc9ade8b6a0fa05468dbb92f98be Mon Sep 17 00:00:00 2001 From: jungheejung Date: Fri, 23 Aug 2024 18:14:27 -0400 Subject: [PATCH] BUG: temp file path typo --- spacetop_prep/events/bidsify_social_ENH.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacetop_prep/events/bidsify_social_ENH.py b/spacetop_prep/events/bidsify_social_ENH.py index c4406b9..232182e 100644 --- a/spacetop_prep/events/bidsify_social_ENH.py +++ b/spacetop_prep/events/bidsify_social_ENH.py @@ -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: