From 04cf152402647e0c45eb9f0a61e17daf322fe85a Mon Sep 17 00:00:00 2001 From: Elizabeth DuPre Date: Sun, 29 Sep 2019 16:56:17 -0400 Subject: [PATCH 01/12] fix: remove bold_mask generation from t2s --- fmriprep/workflows/bold/base.py | 21 +++++++++++---------- fmriprep/workflows/bold/t2s.py | 11 ++++------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index 7ea34f59f..7b09e3fce 100755 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -646,10 +646,10 @@ def init_func_preproc_wf( (bold_sdc_wf if not t2s_coreg else bold_t2s_wf, bold_reg_wf, [ ('outputnode.bold_ref_brain', 'inputnode.ref_bold_brain')]), (bold_sdc_wf if not t2s_coreg else bold_t2s_wf, bold_t1_trans_wf, [ - ('outputnode.bold_ref_brain', 'inputnode.ref_bold_brain'), - ('outputnode.bold_mask', 'inputnode.ref_bold_mask')]), + ('outputnode.bold_ref_brain', 'inputnode.ref_bold_brain')]), (bold_sdc_wf, bold_t1_trans_wf, [ - ('outputnode.out_warp', 'inputnode.fieldwarp')]), + ('outputnode.out_warp', 'inputnode.fieldwarp'), + ('outputnode.bold_mask', 'inputnode.ref_bold_mask')]), (bold_sdc_wf, bold_bold_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp'), ('outputnode.bold_mask', 'inputnode.bold_mask')]), @@ -659,6 +659,8 @@ def init_func_preproc_wf( ('t1_mask', 'inputnode.t1_mask')]), (bold_hmc_wf, bold_confounds_wf, [ ('outputnode.movpar_file', 'inputnode.movpar_file')]), + (bold_bold_trans_wf, bold_confounds_wf, [ + ('outputnode.bold_mask', 'inputnode.bold_mask')]), (bold_reg_wf, bold_confounds_wf, [ ('outputnode.itk_t1_to_bold', 'inputnode.t1_bold_xform')]), (bold_reference_wf, bold_confounds_wf, [ @@ -684,8 +686,7 @@ def init_func_preproc_wf( (inputnode, func_derivatives_wf, [ ('bold_file', 'inputnode.source_file')]), (bold_bold_trans_wf, bold_confounds_wf, [ - ('outputnode.bold', 'inputnode.bold'), - ('outputnode.bold_mask', 'inputnode.bold_mask')]), + ('outputnode.bold', 'inputnode.bold')]), (bold_split, bold_t1_trans_wf, [ ('out_files', 'inputnode.bold_split')]), ]) @@ -697,8 +698,7 @@ def init_func_preproc_wf( (bold_bold_trans_wf, skullstrip_bold_wf, [ ('outputnode.bold', 'inputnode.in_file')]), (bold_t2s_wf, bold_confounds_wf, [ - ('outputnode.bold', 'inputnode.bold'), - ('outputnode.bold_mask', 'inputnode.bold_mask')]), + ('outputnode.bold', 'inputnode.bold')]), (bold_t2s_wf, bold_t1_trans_wf, [ ('outputnode.bold', 'inputnode.bold_split')]), ]) @@ -757,7 +757,7 @@ def init_func_preproc_wf( ('outputnode.itk_bold_to_t1', 'transforms')]), (bold_t1_trans_wf, boldmask_to_t1w, [ ('outputnode.bold_mask_t1', 'reference_image')]), - (bold_bold_trans_wf if not multiecho else bold_t2s_wf, boldmask_to_t1w, [ + (bold_bold_trans_wf, boldmask_to_t1w, [ ('outputnode.bold_mask', 'input_image')]), (boldmask_to_t1w, outputnode, [ ('output_image', 'bold_mask_t1')]), @@ -795,7 +795,7 @@ def init_func_preproc_wf( ('outputnode.xforms', 'inputnode.hmc_xforms')]), (bold_reg_wf, bold_std_trans_wf, [ ('outputnode.itk_bold_to_t1', 'inputnode.itk_bold_to_t1')]), - (bold_bold_trans_wf if not multiecho else bold_t2s_wf, bold_std_trans_wf, [ + (bold_bold_trans_wf, bold_std_trans_wf, [ ('outputnode.bold_mask', 'inputnode.bold_mask')]), (bold_sdc_wf, bold_std_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp')]), @@ -825,7 +825,8 @@ def init_func_preproc_wf( (inputnode, carpetplot_wf, [ ('joint_std2anat_xfm', 'inputnode.std2anat_xfm')]), (bold_bold_trans_wf if not multiecho else bold_t2s_wf, carpetplot_wf, [ - ('outputnode.bold', 'inputnode.bold'), + ('outputnode.bold', 'inputnode.bold')]), + (bold_bold_trans_wf, carpetplot_wf, [ ('outputnode.bold_mask', 'inputnode.bold_mask')]), (bold_reg_wf, carpetplot_wf, [ ('outputnode.itk_t1_to_bold', 'inputnode.t1_bold_xform')]), diff --git a/fmriprep/workflows/bold/t2s.py b/fmriprep/workflows/bold/t2s.py index a3f4d6ccb..764887550 100644 --- a/fmriprep/workflows/bold/t2s.py +++ b/fmriprep/workflows/bold/t2s.py @@ -79,21 +79,18 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, inputnode = pe.Node(niu.IdentityInterface(fields=['bold_file']), name='inputnode') - outputnode = pe.Node(niu.IdentityInterface(fields=['bold', 'bold_mask', 'bold_ref_brain']), + outputnode = pe.Node(niu.IdentityInterface(fields=['bold', 'bold_ref_brain']), name='outputnode') LOGGER.log(25, 'Generating T2* map and optimally combined ME-EPI time series.') t2smap_node = pe.Node(T2SMap(echo_times=echo_times), name='t2smap_node') - skullstrip_t2smap_wf = init_skullstrip_bold_wf(name='skullstrip_t2smap_wf') workflow.connect([ (inputnode, t2smap_node, [('bold_file', 'in_files')]), - (t2smap_node, outputnode, [('optimal_comb', 'bold')]), - (t2smap_node, skullstrip_t2smap_wf, [('t2star_map', 'inputnode.in_file')]), - (skullstrip_t2smap_wf, outputnode, [ - ('outputnode.mask_file', 'bold_mask'), - ('outputnode.skull_stripped_file', 'bold_ref_brain')]), + (t2smap_node, outputnode, [ + ('optimal_comb', 'bold'), + ('t2star_map', 'bold_ref_brain')]), ]) return workflow From 267171e30b94d10b1ad1a3962059c27ab55f2d06 Mon Sep 17 00:00:00 2001 From: Elizabeth DuPre Date: Mon, 30 Sep 2019 14:20:52 -0400 Subject: [PATCH 02/12] sty: appease flake8, retrigger CI --- fmriprep/workflows/bold/t2s.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fmriprep/workflows/bold/t2s.py b/fmriprep/workflows/bold/t2s.py index 764887550..f2f7643d3 100644 --- a/fmriprep/workflows/bold/t2s.py +++ b/fmriprep/workflows/bold/t2s.py @@ -15,7 +15,6 @@ from niworkflows.engine.workflows import LiterateWorkflow as Workflow from ...interfaces import T2SMap -from .util import init_skullstrip_bold_wf DEFAULT_MEMORY_MIN_GB = 0.01 LOGGER = logging.getLogger('nipype.workflow') From 40f1add966d73f0384351c2786e0d6cb79a01675 Mon Sep 17 00:00:00 2001 From: Elizabeth DuPre Date: Wed, 2 Oct 2019 15:47:26 -0400 Subject: [PATCH 03/12] fix: pin nipype requirement on @effigies rec --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 5a282aab2..dd5f09db8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ install_requires = nibabel >=2.2.1 indexed_gzip >=0.8.8 nilearn !=0.5.0, !=0.5.1 - nipype >=1.2.2 + nipype @ git+https://github.com/effigies/nipype.git@e206f3d53198c683e959fe1e73426ce5cf362b93 psutil >=5.4 pybids ~= 0.9.4 tedana >=0.0.5 From d995645063d8f00cbee5ff6665eebf4afd6fd275 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 20:52:26 -0400 Subject: [PATCH 04/12] Excise t2s-coreg. --- fmriprep/cli/parser.py | 6 ------ fmriprep/workflows/bold/base.py | 36 +++++++-------------------------- fmriprep/workflows/bold/t2s.py | 11 ++++------ 3 files changed, 11 insertions(+), 42 deletions(-) diff --git a/fmriprep/cli/parser.py b/fmriprep/cli/parser.py index 307b79b42..dbf9e9003 100644 --- a/fmriprep/cli/parser.py +++ b/fmriprep/cli/parser.py @@ -142,12 +142,6 @@ def _bids_filter(value): g_conf.add_argument( '--longitudinal', action='store_true', help='treat dataset as longitudinal - may increase runtime') - g_conf.add_argument( - '--t2s-coreg', action='store_true', - help='If provided with multi-echo BOLD dataset, create T2*-map and perform ' - 'T2*-driven coregistration. When multi-echo data is provided and this ' - 'option is not enabled, standard EPI-T1 coregistration is performed ' - 'using the middle echo.') g_conf.add_argument( '--output-spaces', nargs='*', action=OutputReferencesAction, help="""\ diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index 4cbad3e21..5ff5b927b 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -209,17 +209,6 @@ def init_func_preproc_wf(bold_file): 'slicetiming' not in config.workflow.ignore and (_get_series_len(ref_file) > 4 or "TooShort")) - # Check if MEEPI for T2* coregistration target - if config.workflow.t2s_coreg and not multiecho: - config.loggers.workflow.warning( - "No multiecho BOLD images found for T2* coregistration. " - "Using standard EPI-T1 coregistration.") - config.workflow.t2s_coreg = False - - # By default, force-bbr for t2s_coreg unless user specifies otherwise - if config.workflow.t2s_coreg and config.workflow.use_bbr is None: - config.workflow.use_bbr = True - # Build workflow workflow = Workflow(name=wf_name) workflow.__postdesc__ = """\ @@ -407,7 +396,6 @@ def init_func_preproc_wf(bold_file): bold_t2s_wf = init_bold_t2s_wf(echo_times=tes, mem_gb=mem_gb['resampled'], omp_nthreads=omp_nthreads, - t2s_coreg=config.workflow.t2s_coreg, name='bold_t2smap_wf') workflow.connect([ @@ -495,23 +483,13 @@ def init_func_preproc_wf(bold_file): (outputnode, summary, [('confounds', 'confounds_file')]), ]) - if not config.workflow.t2s_coreg: - workflow.connect([ - (bold_sdc_wf, bold_reg_wf, [ - ('outputnode.epi_brain', 'inputnode.ref_bold_brain')]), - (bold_sdc_wf, bold_t1_trans_wf, [ - ('outputnode.epi_brain', 'inputnode.ref_bold_brain'), - ('outputnode.epi_mask', 'inputnode.ref_bold_mask')]), - ]) - else: - workflow.connect([ - # For t2s_coreg, replace EPI-to-T1w registration inputs - (bold_t2s_wf, bold_reg_wf, [ - ('outputnode.bold_ref_brain', 'inputnode.ref_bold_brain')]), - (bold_t2s_wf, bold_t1_trans_wf, [ - ('outputnode.bold_ref_brain', 'inputnode.ref_bold_brain'), - ('outputnode.bold_mask', 'inputnode.ref_bold_mask')]), - ]) + workflow.connect([ + (bold_sdc_wf, bold_reg_wf, [ + ('outputnode.epi_brain', 'inputnode.ref_bold_brain')]), + (bold_sdc_wf, bold_t1_trans_wf, [ + ('outputnode.epi_brain', 'inputnode.ref_bold_brain'), + ('outputnode.epi_mask', 'inputnode.ref_bold_mask')]), + ]) # for standard EPI data, pass along correct file if not multiecho: diff --git a/fmriprep/workflows/bold/t2s.py b/fmriprep/workflows/bold/t2s.py index 3e64ee54b..e6a26ee52 100644 --- a/fmriprep/workflows/bold/t2s.py +++ b/fmriprep/workflows/bold/t2s.py @@ -19,13 +19,12 @@ # pylint: disable=R0914 def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, - t2s_coreg=False, name='bold_t2s_wf'): + name='bold_t2s_wf'): """ Combine multiple echos of :abbr:`ME-EPI (multi-echo echo-planar imaging)`. This workflow wraps the `tedana`_ `T2* workflow`_ to optimally - combine multiple echos and derive a T2* map for optional use as a - coregistration target. + combine multiple echos and derive a T2* map. The following steps are performed: #. :abbr:`HMC (head motion correction)` on individual echo files. @@ -43,8 +42,6 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, Size of BOLD file in GB omp_nthreads : :obj:`int` Maximum number of threads an individual process may use - t2s_coreg : :obj:`bool` - Use the calculated T2*-map for T2*-driven coregistration name : :obj:`str` Name of workflow (default: ``bold_t2s_wf``) @@ -73,8 +70,8 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, used to fit the model. The calculated T2* map was then used to optimally combine preprocessed BOLD across echoes following the method described in [@posse_t2s]. -The optimally combined time series was carried forward as the *preprocessed BOLD*{}. -""".format('' if not t2s_coreg else ', and the T2* map was also retained as the BOLD reference') +The optimally combined time series was carried forward as the *preprocessed BOLD*. +""" inputnode = pe.Node(niu.IdentityInterface(fields=['bold_file']), name='inputnode') From 4919d10c58e10387f8587d4d4c867aa420dcdb8a Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 20:56:37 -0400 Subject: [PATCH 05/12] Remove mention of t2s-coreg from workflow documentation. --- docs/workflows.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/workflows.rst b/docs/workflows.rst index c51d80a63..6e65d8ad0 100644 --- a/docs/workflows.rst +++ b/docs/workflows.rst @@ -576,8 +576,5 @@ T2* Driven Coregistration If multi-echo :abbr:`BOLD (blood-oxygen level-dependent)` data is supplied, this workflow uses the `tedana`_ `T2* workflow`_ to generate an adaptive T2* map and optimally weighted combination of all supplied single echo time series. -This optimaly combined time series is then carried forward for all subsequent +This optimally combined time series is then carried forward for all subsequent preprocessing steps. -Optionally, if the ``--t2s-coreg`` flag is supplied, the T2* map is then used -in place of the :ref:`BOLD reference image ` to -:ref:`register the BOLD series to the T1w image ` of the same subject. From bf80c6d4430a30593cc0704bfaf72ceddc2ec146 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 21:20:45 -0400 Subject: [PATCH 06/12] Fix bold_sdc_wf output name. --- fmriprep/workflows/bold/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index 5ff5b927b..02bdc8d85 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -453,7 +453,7 @@ def init_func_preproc_wf(bold_file): ('outputnode.bold_mask', 'inputnode.epi_mask')]), (bold_sdc_wf, bold_t1_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp'), - ('outputnode.bold_mask', 'inputnode.ref_bold_mask')]), + ('outputnode.epi_mask', 'inputnode.ref_bold_mask')]), (bold_sdc_wf, bold_bold_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp'), ('outputnode.epi_mask', 'inputnode.bold_mask')]), From a8e48131f3499adf4ef5ae88efd56974b571763b Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 21:29:30 -0400 Subject: [PATCH 07/12] Remove duplicate connection. --- fmriprep/workflows/bold/base.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index 02bdc8d85..b3156949e 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -453,10 +453,13 @@ def init_func_preproc_wf(bold_file): ('outputnode.bold_mask', 'inputnode.epi_mask')]), (bold_sdc_wf, bold_t1_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp'), - ('outputnode.epi_mask', 'inputnode.ref_bold_mask')]), + ('outputnode.epi_mask', 'inputnode.ref_bold_mask'), + ('outputnode.epi_brain', 'inputnode.ref_bold_brain')]), (bold_sdc_wf, bold_bold_trans_wf, [ ('outputnode.out_warp', 'inputnode.fieldwarp'), ('outputnode.epi_mask', 'inputnode.bold_mask')]), + (bold_sdc_wf, bold_reg_wf, [ + ('outputnode.epi_brain', 'inputnode.ref_bold_brain')]), (bold_sdc_wf, summary, [('outputnode.method', 'distortion_correction')]), # Connect bold_confounds_wf (inputnode, bold_confounds_wf, [('t1w_tpms', 'inputnode.t1w_tpms'), @@ -483,14 +486,6 @@ def init_func_preproc_wf(bold_file): (outputnode, summary, [('confounds', 'confounds_file')]), ]) - workflow.connect([ - (bold_sdc_wf, bold_reg_wf, [ - ('outputnode.epi_brain', 'inputnode.ref_bold_brain')]), - (bold_sdc_wf, bold_t1_trans_wf, [ - ('outputnode.epi_brain', 'inputnode.ref_bold_brain'), - ('outputnode.epi_mask', 'inputnode.ref_bold_mask')]), - ]) - # for standard EPI data, pass along correct file if not multiecho: workflow.connect([ From 03b21da8adaaf9555b4559ad1471b9383dde03ca Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 22:19:49 -0400 Subject: [PATCH 08/12] Drop t2s-coreg from test. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e47c6baf7..70fbeea7c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -779,7 +779,7 @@ jobs: --config $PWD/nipype.cfg -w /tmp/${DATASET}/work \ /tmp/data/${DATASET} /tmp/${DATASET}/derivatives participant \ ${FASTRACK_ARG} \ - --fs-no-reconall --t2s-coreg --use-syn-sdc \ + --fs-no-reconall --use-syn-sdc \ --dummy-scans 1 --sloppy --write-graph \ --output-spaces MNI152NLin2009cAsym \ --mem_mb 4096 --nthreads 2 -vv From ddedcd2b03190f4751edbbd8e9c27b8b2720c970 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 28 Apr 2020 23:35:37 -0400 Subject: [PATCH 09/12] Add bold_bold_trans_wf --> bold_confounds_wf connection back in. --- fmriprep/workflows/bold/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index b3156949e..bd7142867 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -471,6 +471,9 @@ def init_func_preproc_wf(bold_file): ('outputnode.itk_t1_to_bold', 'inputnode.t1_bold_xform')]), (bold_reference_wf, bold_confounds_wf, [ ('outputnode.skip_vols', 'inputnode.skip_vols')]), + (bold_bold_trans_wf, bold_confounds_wf, [ + ('outputnode.bold_mask', 'inputnode.bold_mask'), + ]), (bold_confounds_wf, outputnode, [ ('outputnode.confounds_file', 'confounds'), ]), From 56efef66c1269842a3a9c367fa7c1d6d4442168e Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Wed, 29 Apr 2020 00:46:41 -0400 Subject: [PATCH 10/12] Grab BOLD mask from bold_bold_trans_wf. --- fmriprep/workflows/bold/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index bd7142867..88496962e 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -792,7 +792,8 @@ def init_func_preproc_wf(bold_file): (carpetplot_select_std, carpetplot_wf, [ ('std2anat_xfm', 'inputnode.std2anat_xfm')]), (bold_bold_trans_wf if not multiecho else bold_t2s_wf, carpetplot_wf, [ - ('outputnode.bold', 'inputnode.bold'), + ('outputnode.bold', 'inputnode.bold')]), + (bold_bold_trans_wf, carpetplot_wf, [ ('outputnode.bold_mask', 'inputnode.bold_mask')]), (bold_reg_wf, carpetplot_wf, [ ('outputnode.itk_t1_to_bold', 'inputnode.t1_bold_xform')]), From 3a2f863ec8fca2ec17b16b33b9044bbb648c2919 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Wed, 29 Apr 2020 15:11:28 -0400 Subject: [PATCH 11/12] Remove unused output from init_bold_t2s_wf. --- fmriprep/workflows/bold/t2s.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/fmriprep/workflows/bold/t2s.py b/fmriprep/workflows/bold/t2s.py index e6a26ee52..643a6acd6 100644 --- a/fmriprep/workflows/bold/t2s.py +++ b/fmriprep/workflows/bold/t2s.py @@ -54,10 +54,6 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, ------- bold the optimally combined time series for all supplied echos - bold_mask - the binarized, skull-stripped adaptive T2* map - bold_ref_brain - the adaptive T2* map """ from niworkflows.engine.workflows import LiterateWorkflow as Workflow @@ -75,8 +71,7 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, inputnode = pe.Node(niu.IdentityInterface(fields=['bold_file']), name='inputnode') - outputnode = pe.Node(niu.IdentityInterface(fields=['bold', 'bold_ref_brain']), - name='outputnode') + outputnode = pe.Node(niu.IdentityInterface(fields=['bold']), name='outputnode') LOGGER.log(25, 'Generating T2* map and optimally combined ME-EPI time series.') @@ -84,9 +79,7 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, workflow.connect([ (inputnode, t2smap_node, [('bold_file', 'in_files')]), - (t2smap_node, outputnode, [ - ('optimal_comb', 'bold'), - ('t2star_map', 'bold_ref_brain')]), + (t2smap_node, outputnode, [('optimal_comb', 'bold')]), ]) return workflow From 471fd9d63bd5ad37fb3701e7805162460c59c738 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Fri, 1 May 2020 11:14:38 -0400 Subject: [PATCH 12/12] Address @mgxd's comment. --- fmriprep/config.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/fmriprep/config.py b/fmriprep/config.py index 02eeff140..8ea7c3b8a 100644 --- a/fmriprep/config.py +++ b/fmriprep/config.py @@ -452,9 +452,6 @@ class workflow(_Config): spaces = None """Keeps the :py:class:`~niworkflows.utils.spaces.SpatialReferences` instance keeping standard and nonstandard spaces.""" - t2s_coreg = None - """Co-register echos before generating the T2\\* reference of - :abbr:`ME-EPI (multi-echo echo-planar imaging)`.""" use_aroma = None """Run ICA-:abbr:`AROMA (automatic removal of motion artifacts)`.""" use_bbr = None