Skip to content

Commit

Permalink
Update pipeline.py
Browse files Browse the repository at this point in the history
Fixed 2 bugs preventing it from running when -z BIDS is unused.
  • Loading branch information
ericearl committed Aug 22, 2024
1 parent 78d1656 commit f6fb2c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ def main():
# decide whether or not to continue with the unpacking
if 'DICOM' not in args.preserve and 'BIDS' not in args.preserve:
warning('DICOM and BIDS intermediary files are not to be preserved and will not be produced.')
return
else:

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

### Create the DICOM to BIDS conversion workflow ###
Expand Down

0 comments on commit f6fb2c3

Please sign in to comment.