Skip to content

Commit 93fc896

Browse files
committed
clean-up boilerplate
1 parent 649737c commit 93fc896

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

fmriprep/workflows/bold/hmc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ def init_bold_hmc_wf(use_mcflirt, mem_gb, omp_nthreads, name='bold_hmc_wf'):
6868
else:
6969
software = """\
7070
`3dVolreg` from AFNI, version {afni_ver} [@afni, RRID:SCR_005927].
71-
""".format(afni_ver=''.join(list(afni.Volreg().version or '<ver>')))
71+
""".format(afni_ver=''.join(list(afni.Info().version() or '<ver>')))
7272

7373
workflow = Workflow(name=name)
7474
workflow.__desc__ = """\
7575
Head-motion parameters with respect to the BOLD reference
7676
(transformation matrices, and six corresponding rotation and translation
7777
parameters) are estimated before any spatiotemporal filtering using
78-
{}.""".format(software)
78+
{}""".format(software)
7979

8080
inputnode = pe.Node(niu.IdentityInterface(fields=['bold_file', 'raw_ref_image']),
8181
name='inputnode')

fmriprep/workflows/bold/stc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def init_bold_stc_wf(metadata, name='bold_stc_wf'):
5959
workflow.__desc__ = """\
6060
BOLD runs were slice-time corrected using `3dTshift` from
6161
AFNI {afni_ver} [@afni, RRID:SCR_005927].
62-
""".format(afni_ver=''.join(list(afni.TShift().version or '<ver>')))
62+
""".format(afni_ver=''.join(list(afni.Info().version() or '<ver>')))
6363
inputnode = pe.Node(niu.IdentityInterface(fields=['bold_file', 'skip_vols']), name='inputnode')
6464
outputnode = pe.Node(niu.IdentityInterface(fields=['stc_file']), name='outputnode')
6565

fmriprep/workflows/fieldmap/pepolar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def init_pepolar_unwarp_wf(bold_meta, epi_fmaps, omp_nthreads=1,
105105
A deformation field to correct for susceptibility distortions was estimated
106106
based on two echo-planar imaging (EPI) references with opposing phase-encoding
107107
directions, using `3dQwarp` @afni (AFNI {afni_ver}).
108-
""".format(afni_ver=''.join(list(afni.QwarpPlusMinus().version or '<ver>')))
108+
""".format(afni_ver=''.join(list(afni.Info().version() or '<ver>')))
109109

110110
inputnode = pe.Node(niu.IdentityInterface(
111111
fields=['in_reference', 'in_reference_brain', 'in_mask']), name='inputnode')

0 commit comments

Comments
 (0)