Skip to content

Commit

Permalink
Merge pull request #229 from mgxd/fix/boilerplate
Browse files Browse the repository at this point in the history
FIX: Update boilerplate ordering directives
  • Loading branch information
effigies authored Dec 13, 2021
2 parents 853951e + 7734862 commit fb950a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions sdcflows/workflows/fit/fieldmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def init_fmap_wf(omp_nthreads=1, sloppy=False, debug=False, mode="phasediff", na
# fmt: on

if mode == "phasediff":
workflow.__postdesc__ = """\
workflow.__desc__ = """\
A *B<sub>0</sub>* nonuniformity map (or *fieldmap*) was estimated from the
phase-drift map(s) measure with two consecutive GRE (gradient-recalled echo)
acquisitions.
Expand All @@ -145,7 +145,7 @@ def init_fmap_wf(omp_nthreads=1, sloppy=False, debug=False, mode="phasediff", na
from niworkflows.interfaces.images import IntraModalMerge
from ...interfaces.fmap import CheckB0Units

workflow.__postdesc__ = """\
workflow.__desc__ = """\
A *B<sub>0</sub>* nonuniformity map (or *fieldmap*) was directly measured with
an MRI scheme designed with that purpose such as SEI (Spiral-Echo Imaging).
"""
Expand Down Expand Up @@ -293,8 +293,8 @@ def init_phdiff_wf(omp_nthreads, debug=False, name="phdiff_wf"):
from ...interfaces.fmap import Phasediff2Fieldmap, PhaseMap2rads, SubtractPhases

workflow = Workflow(name=name)
workflow.__postdesc__ = f"""\
The corresponding phase-map(s) were phase-unwrapped with `prelude` (FSL {PRELUDE.version}).
workflow.__desc__ = f"""\
The corresponding phase-map(s) were phase-unwrapped with `prelude` (FSL {PRELUDE().version}).
"""

inputnode = pe.Node(
Expand Down
4 changes: 2 additions & 2 deletions sdcflows/workflows/fit/pepolar.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def init_topup_wf(
from ..ancillary import init_brainextraction_wf

workflow = Workflow(name=name)
workflow.__postdesc__ = f"""\
workflow.__desc__ = f"""\
{_PEPOLAR_DESC} with `topup` (@topup; FSL {TOPUP().version}).
"""

Expand Down Expand Up @@ -265,7 +265,7 @@ def init_3dQwarp_wf(omp_nthreads=1, debug=False, name="pepolar_estimate_wf"):
from ...interfaces.utils import Flatten, ConvertWarp

workflow = Workflow(name=name)
workflow.__postdesc__ = f"""{_PEPOLAR_DESC} \
workflow.__desc__ = f"""{_PEPOLAR_DESC} \
with `3dQwarp` (@afni; AFNI {''.join(['%02d' % v for v in afni.Info().version() or []])}).
"""

Expand Down

0 comments on commit fb950a3

Please sign in to comment.