Skip to content

Commit 55b4236

Browse files
committed
boilerplate: fix afni version
1 parent 93fc896 commit 55b4236

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fmriprep/workflows/bold/hmc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ 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.Info().version() or '<ver>')))
71+
""".format(afni_ver=''.join(['%02d' % v for v in afni.Info().version() or []]))
7272

7373
workflow = Workflow(name=name)
7474
workflow.__desc__ = """\

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.Info().version() or '<ver>')))
62+
""".format(afni_ver=''.join(['%02d' % v for v in afni.Info().version() or []]))
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.Info().version() or '<ver>')))
108+
""".format(afni_ver=''.join(['%02d' % v for v in afni.Info().version() or []]))
109109

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

0 commit comments

Comments
 (0)