@@ -929,13 +929,14 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
929929 name = 'ds_bold_t1' , run_without_submitting = True ,
930930 mem_gb = DEFAULT_MEMORY_MIN_GB )
931931 ds_bold_t1_ref = pe .Node (
932- DerivativesDataSink (base_directory = output_dir , space = 'T1w' , suffix = 'boldref' ),
932+ DerivativesDataSink (base_directory = output_dir , space = 'T1w' , suffix = 'boldref' ,
933+ compress = True ),
933934 name = 'ds_bold_t1_ref' , run_without_submitting = True ,
934935 mem_gb = DEFAULT_MEMORY_MIN_GB )
935936
936937 ds_bold_mask_t1 = pe .Node (
937938 DerivativesDataSink (base_directory = output_dir , space = 'T1w' , desc = 'brain' ,
938- suffix = 'mask' ),
939+ suffix = 'mask' , compress = True ),
939940 name = 'ds_bold_mask_t1' , run_without_submitting = True ,
940941 mem_gb = DEFAULT_MEMORY_MIN_GB )
941942 workflow .connect ([
@@ -949,11 +950,13 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
949950 ])
950951 if freesurfer :
951952 ds_bold_aseg_t1 = pe .Node (DerivativesDataSink (
952- base_directory = output_dir , space = 'T1w' , desc = 'aseg' , suffix = 'dseg' ),
953+ base_directory = output_dir , space = 'T1w' , desc = 'aseg' , suffix = 'dseg' ,
954+ compress = True ),
953955 name = 'ds_bold_aseg_t1' , run_without_submitting = True ,
954956 mem_gb = DEFAULT_MEMORY_MIN_GB )
955957 ds_bold_aparc_t1 = pe .Node (DerivativesDataSink (
956- base_directory = output_dir , space = 'T1w' , desc = 'aparcaseg' , suffix = 'dseg' ),
958+ base_directory = output_dir , space = 'T1w' , desc = 'aparcaseg' , suffix = 'dseg' ,
959+ compress = True ),
957960 name = 'ds_bold_aparc_t1' , run_without_submitting = True ,
958961 mem_gb = DEFAULT_MEMORY_MIN_GB )
959962 workflow .connect ([
@@ -972,13 +975,14 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
972975 name = 'ds_bold_mni' , run_without_submitting = True ,
973976 mem_gb = DEFAULT_MEMORY_MIN_GB )
974977 ds_bold_mni_ref = pe .Node (
975- DerivativesDataSink (base_directory = output_dir , space = template , suffix = 'boldref' ),
978+ DerivativesDataSink (base_directory = output_dir , space = template , suffix = 'boldref' ,
979+ compress = True ),
976980 name = 'ds_bold_mni_ref' , run_without_submitting = True ,
977981 mem_gb = DEFAULT_MEMORY_MIN_GB )
978982
979983 ds_bold_mask_mni = pe .Node (
980984 DerivativesDataSink (base_directory = output_dir , space = template , desc = 'brain' ,
981- suffix = 'mask' ),
985+ suffix = 'mask' , compress = True ),
982986 name = 'ds_bold_mask_mni' , run_without_submitting = True ,
983987 mem_gb = DEFAULT_MEMORY_MIN_GB )
984988 workflow .connect ([
@@ -993,11 +997,13 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
993997
994998 if freesurfer :
995999 ds_bold_aseg_mni = pe .Node (DerivativesDataSink (
996- base_directory = output_dir , space = template , desc = 'aseg' , suffix = 'dseg' ),
1000+ base_directory = output_dir , space = template , desc = 'aseg' , suffix = 'dseg' ,
1001+ compress = True ),
9971002 name = 'ds_bold_aseg_mni' , run_without_submitting = True ,
9981003 mem_gb = DEFAULT_MEMORY_MIN_GB )
9991004 ds_bold_aparc_mni = pe .Node (DerivativesDataSink (
1000- base_directory = output_dir , space = template , desc = 'aparcaseg' , suffix = 'dseg' ),
1005+ base_directory = output_dir , space = template , desc = 'aparcaseg' , suffix = 'dseg' ,
1006+ compress = True ),
10011007 name = 'ds_bold_aparc_mni' , run_without_submitting = True ,
10021008 mem_gb = DEFAULT_MEMORY_MIN_GB )
10031009 workflow .connect ([
@@ -1059,7 +1065,8 @@ def init_func_derivatives_wf(bids_root, cifti_output, freesurfer,
10591065 mem_gb = DEFAULT_MEMORY_MIN_GB )
10601066 ds_aroma_mni = pe .Node (
10611067 DerivativesDataSink (base_directory = output_dir , space = template ,
1062- desc = 'smoothAROMAnonaggr' , keep_dtype = True ),
1068+ desc = 'smoothAROMAnonaggr' , keep_dtype = True ,
1069+ compress = True ),
10631070 name = 'ds_aroma_mni' , run_without_submitting = True ,
10641071 mem_gb = DEFAULT_MEMORY_MIN_GB )
10651072
0 commit comments