Skip to content

Commit 0733055

Browse files
authored
Modify .bidsignore entries for folder ignores
Updated .bidsignore entries to remove trailing slashes.
1 parent 3cc8a33 commit 0733055

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lslautobids/convert_to_bids_and_upload.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,13 @@ def convert_to_bids(self, xdf_path,subject_id,session_id, run_id, task_id,other,
347347
if not os.path.exists(bidsignore_path):
348348
with open(bidsignore_path, 'w') as f:
349349
# ignore the sourcedata folder (.xdf files)s
350-
f.write('sourcedata/\n')
350+
f.write('sourcedata\n')
351351
# ignore the code folder - containing log files
352-
f.write('code/\n')
352+
f.write('code\n')
353353
# ignore the beh folder in each sub-xxx/ses-yyys
354-
f.write('**/beh/\n')
354+
f.write('**/beh\n')
355355
# ignore the misc folder in each sub-xxx/ses-yyy
356-
f.write('**/misc/\n')
356+
f.write('**/misc\n')
357357
# ignore hidden files
358358
f.write('.*\n')
359359
logger.info(".bidsignore file created.")

0 commit comments

Comments
 (0)