Skip to content

Commit f6fb2c3

Browse files
committed
Update pipeline.py
Fixed 2 bugs preventing it from running when -z BIDS is unused.
1 parent 78d1656 commit f6fb2c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pipeline.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ def main():
326326
# decide whether or not to continue with the unpacking
327327
if 'DICOM' not in args.preserve and 'BIDS' not in args.preserve:
328328
warning('DICOM and BIDS intermediary files are not to be preserved and will not be produced.')
329-
return
330329
else:
331330

332331
# make the DICOM directory
@@ -384,7 +383,6 @@ def main():
384383
# decide whether or not to continue with the conversion
385384
if 'BIDS' not in args.preserve:
386385
warning('BIDS files are not to be preserved and so will not be produced.')
387-
return
388386
else:
389387

390388
### Create the DICOM to BIDS conversion workflow ###

0 commit comments

Comments
 (0)