Skip to content

Commit

Permalink
BUG: no e in error print
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 24, 2024
1 parent 831fd58 commit 29baa88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spacetop_prep/events/bidsify_social_ENH.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,13 @@ def parse_args():
else:
print(f'No behavior data file found for {sub}, {ses}, {run}. Checked both standard and temporary filenames.')
filtered_cognitive_flist = []
cognitive_logger.error("An error occurred while processing the trajectory file: %s", str(e))
cognitive_logger.error(f"An error occurred while processing the trajectory file: {sub}, {ses}, {run}")
else:
cognitive_flist = glob.glob(join(beh_inputdir,'sub-*', '**','task-social', '**', f'*{task_name}*.csv'), recursive=True)
filtered_cognitive_flist = [file for file in cognitive_flist if "sub-0001" not in file]



for cognitive_fpath in sorted(filtered_cognitive_flist):

# 1. create an empty dataframe to host new BIDS data _______________________
Expand Down

0 comments on commit 29baa88

Please sign in to comment.