Skip to content

Commit

Permalink
BUG: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 7, 2024
1 parent d574033 commit ae15e9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacetop_prep/datalad/remove_subsequentfiles_missingfunc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import glob

datalad_dir = '/Users/h/Documents/projects_local/1076)spacetop'
datalad_dir = '/Users/h/Documents/projects_local/1076_spacetop'
# Define the suffixes for the different file types
file_suffixes = ['_bold.json', '_bold.nii.gz', '_events.tsv', '_sbref.json', '_sbref.nii.gz']

Expand Down Expand Up @@ -43,6 +43,6 @@
# If no _bold.nii.gz file exists, remove all files in this group
for file in file_list:
print(f"Removing file: {file}")
os.remove(file)
# os.remove(file)

print("Cleanup completed.")

0 comments on commit ae15e9e

Please sign in to comment.