From f6fb2c375012a5c66a11daf321f7fb5a041bac68 Mon Sep 17 00:00:00 2001 From: Eric Earl Date: Thu, 22 Aug 2024 16:30:34 -0400 Subject: [PATCH] Update pipeline.py Fixed 2 bugs preventing it from running when -z BIDS is unused. --- pipeline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pipeline.py b/pipeline.py index 177c515..5186fc5 100644 --- a/pipeline.py +++ b/pipeline.py @@ -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 @@ -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 ###