From 6d4ed28ffb7eb1b681b005404103f2158e2e3b12 Mon Sep 17 00:00:00 2001 From: Gabriel D-G Date: Tue, 21 Jan 2020 13:22:16 -0500 Subject: [PATCH] Increased memory for merge node. --- rabies/preprocess_bold_pkg/resampling.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rabies/preprocess_bold_pkg/resampling.py b/rabies/preprocess_bold_pkg/resampling.py index 4681390..4d48de7 100644 --- a/rabies/preprocess_bold_pkg/resampling.py +++ b/rabies/preprocess_bold_pkg/resampling.py @@ -21,14 +21,14 @@ def init_bold_preproc_trans_wf(resampling_dim, name='bold_preproc_trans_wf'): name='outputnode') - bold_transform = pe.Node(slice_applyTransforms(), name='bold_transform', mem_gb=3) + bold_transform = pe.Node(slice_applyTransforms(), name='bold_transform') bold_transform.inputs.apply_motcorr = True bold_transform.inputs.resampling_dim = resampling_dim bold_transform.inputs.data_type = os.environ["rabies_data_type"] - merge = pe.Node(Merge(), name='merge', mem_gb=3) + merge = pe.Node(Merge(), name='merge', mem_gb=5) merge.inputs.data_type = os.environ["rabies_data_type"] - merge.plugin_args = {'qsub_args': '-pe smp %s' % (str(3*int(os.environ["min_proc"]))), 'overwrite': True} + merge.plugin_args = {'qsub_args': '-pe smp %s' % (str(4*int(os.environ["min_proc"]))), 'overwrite': True} # Generate a new BOLD reference bold_reference_wf = init_bold_reference_wf() @@ -66,15 +66,15 @@ def init_bold_commonspace_trans_wf(resampling_dim, name='bold_commonspace_trans_ niu.IdentityInterface(fields=['bold', 'bold_ref', 'brain_mask', 'WM_mask', 'CSF_mask', 'labels']), name='outputnode') - bold_transform = pe.Node(slice_applyTransforms(), name='bold_transform', mem_gb=3) + bold_transform = pe.Node(slice_applyTransforms(), name='bold_transform') bold_transform.inputs.apply_motcorr = True bold_transform.inputs.ref_file = os.environ["template_anat"] bold_transform.inputs.resampling_dim = resampling_dim bold_transform.inputs.data_type = os.environ["rabies_data_type"] - merge = pe.Node(Merge(), name='merge', mem_gb=3) + merge = pe.Node(Merge(), name='merge', mem_gb=5) merge.inputs.data_type = os.environ["rabies_data_type"] - merge.plugin_args = {'qsub_args': '-pe smp %s' % (str(3*int(os.environ["min_proc"]))), 'overwrite': True} + merge.plugin_args = {'qsub_args': '-pe smp %s' % (str(4*int(os.environ["min_proc"]))), 'overwrite': True} # Generate a new BOLD reference bold_reference_wf = init_bold_reference_wf()