@@ -910,13 +910,14 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
910910 name = 'ds_bold_t1' , run_without_submitting = True ,
911911 mem_gb = DEFAULT_MEMORY_MIN_GB )
912912 ds_bold_t1_ref = pe .Node (
913- DerivativesDataSink (base_directory = output_dir , space = 'T1w' , suffix = 'boldref' ),
913+ DerivativesDataSink (base_directory = output_dir , space = 'T1w' , suffix = 'boldref' ,
914+ compress = True ),
914915 name = 'ds_bold_t1_ref' , run_without_submitting = True ,
915916 mem_gb = DEFAULT_MEMORY_MIN_GB )
916917
917918 ds_bold_mask_t1 = pe .Node (
918919 DerivativesDataSink (base_directory = output_dir , space = 'T1w' , desc = 'brain' ,
919- suffix = 'mask' ),
920+ suffix = 'mask' , compress = True ),
920921 name = 'ds_bold_mask_t1' , run_without_submitting = True ,
921922 mem_gb = DEFAULT_MEMORY_MIN_GB )
922923 workflow .connect ([
@@ -930,11 +931,13 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
930931 ])
931932 if freesurfer :
932933 ds_bold_aseg_t1 = pe .Node (DerivativesDataSink (
933- base_directory = output_dir , space = 'T1w' , desc = 'aseg' , suffix = 'dseg' ),
934+ base_directory = output_dir , space = 'T1w' , desc = 'aseg' , suffix = 'dseg' ,
935+ compress = True ),
934936 name = 'ds_bold_aseg_t1' , run_without_submitting = True ,
935937 mem_gb = DEFAULT_MEMORY_MIN_GB )
936938 ds_bold_aparc_t1 = pe .Node (DerivativesDataSink (
937- base_directory = output_dir , space = 'T1w' , desc = 'aparcaseg' , suffix = 'dseg' ),
939+ base_directory = output_dir , space = 'T1w' , desc = 'aparcaseg' , suffix = 'dseg' ,
940+ compress = True ),
938941 name = 'ds_bold_aparc_t1' , run_without_submitting = True ,
939942 mem_gb = DEFAULT_MEMORY_MIN_GB )
940943 workflow .connect ([
@@ -953,13 +956,14 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
953956 name = 'ds_bold_mni' , run_without_submitting = True ,
954957 mem_gb = DEFAULT_MEMORY_MIN_GB )
955958 ds_bold_mni_ref = pe .Node (
956- DerivativesDataSink (base_directory = output_dir , space = template , suffix = 'boldref' ),
959+ DerivativesDataSink (base_directory = output_dir , space = template , suffix = 'boldref' ,
960+ compress = True ),
957961 name = 'ds_bold_mni_ref' , run_without_submitting = True ,
958962 mem_gb = DEFAULT_MEMORY_MIN_GB )
959963
960964 ds_bold_mask_mni = pe .Node (
961965 DerivativesDataSink (base_directory = output_dir , space = template , desc = 'brain' ,
962- suffix = 'mask' ),
966+ suffix = 'mask' , compress = True ),
963967 name = 'ds_bold_mask_mni' , run_without_submitting = True ,
964968 mem_gb = DEFAULT_MEMORY_MIN_GB )
965969 workflow .connect ([
@@ -974,11 +978,13 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
974978
975979 if freesurfer :
976980 ds_bold_aseg_mni = pe .Node (DerivativesDataSink (
977- base_directory = output_dir , space = template , desc = 'aseg' , suffix = 'dseg' ),
981+ base_directory = output_dir , space = template , desc = 'aseg' , suffix = 'dseg' ,
982+ compress = True ),
978983 name = 'ds_bold_aseg_mni' , run_without_submitting = True ,
979984 mem_gb = DEFAULT_MEMORY_MIN_GB )
980985 ds_bold_aparc_mni = pe .Node (DerivativesDataSink (
981- base_directory = output_dir , space = template , desc = 'aparcaseg' , suffix = 'dseg' ),
986+ base_directory = output_dir , space = template , desc = 'aparcaseg' , suffix = 'dseg' ,
987+ compress = True ),
982988 name = 'ds_bold_aparc_mni' , run_without_submitting = True ,
983989 mem_gb = DEFAULT_MEMORY_MIN_GB )
984990 workflow .connect ([
@@ -1040,7 +1046,8 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
10401046 mem_gb = DEFAULT_MEMORY_MIN_GB )
10411047 ds_aroma_mni = pe .Node (
10421048 DerivativesDataSink (base_directory = output_dir , space = template ,
1043- desc = 'smoothAROMAnonaggr' , keep_dtype = True ),
1049+ desc = 'smoothAROMAnonaggr' , keep_dtype = True ,
1050+ compress = True ),
10441051 name = 'ds_aroma_mni' , run_without_submitting = True ,
10451052 mem_gb = DEFAULT_MEMORY_MIN_GB )
10461053
0 commit comments