Skip to content

Commit 2af28d1

Browse files
authored
Merge pull request #17 from nipype/develop
Bug fix of doctest generation
2 parents 5a04f9d + 72dcec9 commit 2af28d1

File tree

231 files changed

+810
-633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+810
-633
lines changed

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -122,31 +122,17 @@ jobs:
122122
matrix:
123123
repo:
124124
- afni
125-
- ants
126-
- fsl
127-
- freesurfer
128-
env:
129-
SECRET: ""
125+
# - ants
126+
# - fsl
127+
# - freesurfer
128+
# - mriqc
130129
steps:
131-
- name: Get secret for corresponding repo
132-
id: get_secret
133-
run: |
134-
if [ "${{ matrix.repo }}" == "afni" ]; then
135-
SECRET="${{ secrets.AFNI_PAT }}"
136-
elif [ "${{ matrix.repo }}" == "ants" ]; then
137-
SECRET="${{ secrets.ANTS_PAT }}"
138-
elif [ "${{ matrix.repo }}" == "fsl" ]; then
139-
SECRET="${{ secrets.FSL_PAT }}"
140-
elif [ "${{ matrix.repo }}" == "freesurfer" ]; then
141-
SECRET="${{ secrets.FREESURFER_PAT }}"
142-
fi
143-
echo "SECRET=$SECRET" >> $GITHUB_ENV
144130

145131
- name: Trigger post-release on downstream repos
146-
if: github.event_name == 'release' && env.SECRET
132+
if: github.event_name == 'release'
147133
run: |
148-
curl -XPOST -u "${{ env.SECRET }}" -H "Accept: application/vnd.github.everest-preview+json" \
134+
curl -XPOST -u "${{ env.POST_RELEASE_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" \
149135
"https://api.github.com/repos/nipype/pydra-${{ matrix.repo }}/dispatches" \
150136
-d '{"event_type": "create-post-release"}'
151137
env:
152-
PAT: ${{ env.SECRET }}
138+
PAT: ${{ env.POST_RELEASE_PAT }}

example-specs/task/nipype/afni/a_boverlap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ doctests:
142142
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
143143
# If the field is of file-format type and the value is None, then the
144144
# '.mock()' method of the corresponding class is used instead.
145-
in_file_a:
145+
in_file_a: '"functional.nii"'
146146
# type=file|default=<undefined>: input file A
147-
in_file_b:
147+
in_file_b: '"structural.nii"'
148148
# type=file|default=<undefined>: input file B
149149
out_file: ' "out.mask_ae_overlap.txt"'
150150
# type=file: output file

example-specs/task/nipype/afni/afn_ito_nifti.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ doctests:
137137
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
138138
# If the field is of file-format type and the value is None, then the
139139
# '.mock()' method of the corresponding class is used instead.
140-
in_file:
140+
in_file: '"afni_output.3D"'
141141
# type=file|default=<undefined>: input file to 3dAFNItoNIFTI
142142
out_file: ' "afni_output.nii"'
143143
# type=file: output file

example-specs/task/nipype/afni/align_epi_anat_py.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ doctests:
203203
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
204204
# If the field is of file-format type and the value is None, then the
205205
# '.mock()' method of the corresponding class is used instead.
206-
anat:
206+
anat: '"structural.nii"'
207207
# type=file|default=<undefined>: name of structural dataset
208-
in_file:
208+
in_file: '"functional.nii"'
209209
# type=file|default=<undefined>: EPI dataset to align
210210
epi_base: '0'
211211
# type=traitcompound|default=None: the epi base used in alignmentshould be one of (0/mean/median/max/subbrick#)

example-specs/task/nipype/afni/allineate.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ doctests:
331331
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
332332
# If the field is of file-format type and the value is None, then the
333333
# '.mock()' method of the corresponding class is used instead.
334-
in_file:
334+
in_file: '"functional.nii"'
335335
# type=file|default=<undefined>: input file to 3dAllineate
336336
out_file: '"functional_allineate.nii"'
337337
# type=file: output image file name
338338
# type=file|default=<undefined>: output file from 3dAllineate
339-
in_matrix:
339+
in_matrix: '"cmatrix.mat"'
340340
# type=file|default=<undefined>: matrix to align input file
341341
imports:
342342
# list[nipype2pydra.task.base.importstatement] - list import statements required by the test, with each list item
@@ -349,9 +349,9 @@ doctests:
349349
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
350350
# If the field is of file-format type and the value is None, then the
351351
# '.mock()' method of the corresponding class is used instead.
352-
in_file:
352+
in_file: '"functional.nii"'
353353
# type=file|default=<undefined>: input file to 3dAllineate
354-
reference:
354+
reference: '"structural.nii"'
355355
# type=file|default=<undefined>: file to be used as reference, the first volume will be used if not given the reference will be the first volume of in_file.
356356
allcostx: '"out.allcostX.txt"'
357357
# type=file: Compute and print ALL available cost functionals for the un-warped inputs
@@ -367,9 +367,9 @@ doctests:
367367
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
368368
# If the field is of file-format type and the value is None, then the
369369
# '.mock()' method of the corresponding class is used instead.
370-
in_file:
370+
in_file: '"functional.nii"'
371371
# type=file|default=<undefined>: input file to 3dAllineate
372-
reference:
372+
reference: '"structural.nii"'
373373
# type=file|default=<undefined>: file to be used as reference, the first volume will be used if not given the reference will be the first volume of in_file.
374374
nwarp_fixmot: '["X", "Y"]'
375375
# type=list|default=[]: To fix motion along directions.

example-specs/task/nipype/afni/auto_tcorrelate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ doctests:
151151
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
152152
# If the field is of file-format type and the value is None, then the
153153
# '.mock()' method of the corresponding class is used instead.
154-
in_file:
154+
in_file: '"functional.nii"'
155155
# type=file|default=<undefined>: timeseries x space (volume or surface) file
156156
polort: '-1'
157157
# type=int|default=0: Remove polynomical trend of order m or -1 for no detrending
158158
eta2: 'True'
159159
# type=bool|default=False: eta^2 similarity
160-
mask:
160+
mask: '"mask.nii"'
161161
# type=file|default=<undefined>: mask of voxels
162162
mask_only_targets: 'True'
163163
# type=bool|default=False: use mask only on targets voxels

example-specs/task/nipype/afni/auto_tlrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ doctests:
125125
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
126126
# If the field is of file-format type and the value is None, then the
127127
# '.mock()' method of the corresponding class is used instead.
128-
in_file:
128+
in_file: '"structural.nii"'
129129
# type=file|default=<undefined>: Original anatomical volume (+orig).The skull is removed by this scriptunless instructed otherwise (-no_ss).
130130
no_ss: 'True'
131131
# type=bool|default=False: Do not strip skull of input data set (because skull has already been removed or because template still has the skull) NOTE: The ``-no_ss`` option is not all that optional. Here is a table of when you should and should not use ``-no_ss`` +------------------+------------+---------------+ | Dataset | Template | +==================+============+===============+ | | w/ skull | wo/ skull | +------------------+------------+---------------+ | WITH skull | ``-no_ss`` | xxx | +------------------+------------+---------------+ | WITHOUT skull | No Cigar | ``-no_ss`` | +------------------+------------+---------------+ Template means: Your template of choice Dset. means: Your anatomical dataset ``-no_ss`` means: Skull stripping should not be attempted on Dset xxx means: Don't put anything, the script will strip Dset No Cigar means: Don't try that combination, it makes no sense.

example-specs/task/nipype/afni/autobox.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ doctests:
144144
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
145145
# If the field is of file-format type and the value is None, then the
146146
# '.mock()' method of the corresponding class is used instead.
147-
in_file:
147+
in_file: '"structural.nii"'
148148
# type=file|default=<undefined>: input file
149149
padding: '5'
150150
# type=int|default=0: Number of extra voxels to pad on each side of box

example-specs/task/nipype/afni/automask.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ doctests:
145145
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
146146
# If the field is of file-format type and the value is None, then the
147147
# '.mock()' method of the corresponding class is used instead.
148-
in_file:
148+
in_file: '"functional.nii"'
149149
# type=file|default=<undefined>: input file to 3dAutomask
150150
dilate: '1'
151151
# type=int|default=0: dilate the mask outwards

example-specs/task/nipype/afni/axialize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ doctests:
139139
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
140140
# If the field is of file-format type and the value is None, then the
141141
# '.mock()' method of the corresponding class is used instead.
142-
in_file:
142+
in_file: '"functional.nii"'
143143
# type=file|default=<undefined>: input file to 3daxialize
144144
out_file: '"axialized.nii"'
145145
# type=file: output file

example-specs/task/nipype/afni/bandpass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ doctests:
169169
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
170170
# If the field is of file-format type and the value is None, then the
171171
# '.mock()' method of the corresponding class is used instead.
172-
in_file:
172+
in_file: '"functional.nii"'
173173
# type=file|default=<undefined>: input file to 3dBandpass
174174
highpass: '0.005'
175175
# type=float|default=0.0: highpass

example-specs/task/nipype/afni/blur_in_mask.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ doctests:
148148
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
149149
# If the field is of file-format type and the value is None, then the
150150
# '.mock()' method of the corresponding class is used instead.
151-
in_file:
151+
in_file: '"functional.nii"'
152152
# type=file|default=<undefined>: input file to 3dSkullStrip
153-
mask:
153+
mask: '"mask.nii"'
154154
# type=file|default=<undefined>: Mask dataset, if desired. Blurring will occur only within the mask. Voxels NOT in the mask will be set to zero in the output.
155155
fwhm: '5.0'
156156
# type=float|default=0.0: fwhm kernel size

example-specs/task/nipype/afni/blur_to_fwhm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ doctests:
142142
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
143143
# If the field is of file-format type and the value is None, then the
144144
# '.mock()' method of the corresponding class is used instead.
145-
in_file:
145+
in_file: '"epi.nii"'
146146
# type=file|default=<undefined>: The dataset that will be smoothed
147147
fwhm: '2.5'
148148
# type=float|default=0.0: Blur until the 3D FWHM reaches this value (in mm)

example-specs/task/nipype/afni/brick_stat.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ doctests:
138138
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
139139
# If the field is of file-format type and the value is None, then the
140140
# '.mock()' method of the corresponding class is used instead.
141-
in_file:
141+
in_file: '"functional.nii"'
142142
# type=file|default=<undefined>: input file to 3dmaskave
143-
mask:
143+
mask: '"skeleton_mask.nii.gz"'
144144
# type=file|default=<undefined>: -mask dset = use dset as mask to include/exclude voxels
145145
min: 'True'
146146
# type=bool|default=False: print the minimum value in dataset

example-specs/task/nipype/afni/calc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ doctests:
196196
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
197197
# If the field is of file-format type and the value is None, then the
198198
# '.mock()' method of the corresponding class is used instead.
199-
in_file_a:
199+
in_file_a: '"functional.nii"'
200200
# type=file|default=<undefined>: input file to 3dcalc
201-
in_file_b:
201+
in_file_b: '"functional2.nii"'
202202
# type=file|default=<undefined>: operand file to 3dcalc
203203
expr: '"a*b"'
204204
# type=str|default='': expr
@@ -218,7 +218,7 @@ doctests:
218218
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
219219
# If the field is of file-format type and the value is None, then the
220220
# '.mock()' method of the corresponding class is used instead.
221-
in_file_a:
221+
in_file_a: '"functional.nii"'
222222
# type=file|default=<undefined>: input file to 3dcalc
223223
expr: '"1"'
224224
# type=str|default='': expr

example-specs/task/nipype/afni/cat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ doctests:
155155
# '.mock()' method of the corresponding class is used instead.
156156
sel: '"''[0,2]''"'
157157
# type=str|default='': Apply the same column/row selection string to all filenames on the command line.
158-
in_files:
158+
in_files: '["f1.1D", "f2.1D"]'
159159
# type=list|default=[]:
160160
out_file: '"catout.1d"'
161161
# type=file: output file

example-specs/task/nipype/afni/center_mass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ doctests:
149149
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
150150
# If the field is of file-format type and the value is None, then the
151151
# '.mock()' method of the corresponding class is used instead.
152-
in_file:
152+
in_file: '"structural.nii"'
153153
# type=file|default=<undefined>: input file to 3dCM
154154
cm_file: '"cm.txt"'
155155
# type=file: file with the center of mass coordinates

example-specs/task/nipype/afni/clip_level.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ doctests:
122122
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
123123
# If the field is of file-format type and the value is None, then the
124124
# '.mock()' method of the corresponding class is used instead.
125-
in_file:
125+
in_file: '"anatomical.nii"'
126126
# type=file|default=<undefined>: input file to 3dClipLevel
127127
imports:
128128
# list[nipype2pydra.task.base.importstatement] - list import statements required by the test, with each list item

example-specs/task/nipype/afni/convert_dset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ doctests:
133133
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
134134
# If the field is of file-format type and the value is None, then the
135135
# '.mock()' method of the corresponding class is used instead.
136-
in_file:
136+
in_file: '"lh.pial_converted.gii"'
137137
# type=file|default=<undefined>: input file to ConvertDset
138138
out_type: '"niml_asc"'
139139
# type=enum|default='niml'|allowed['1D','1Dp','1Dpt','gii','gii_asc','gii_b64','gii_b64gz','niml','niml_asc','niml_bi']: output type

example-specs/task/nipype/afni/copy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ doctests:
210210
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
211211
# If the field is of file-format type and the value is None, then the
212212
# '.mock()' method of the corresponding class is used instead.
213-
in_file:
213+
in_file: '"functional.nii"'
214214
# type=file|default=<undefined>: input file to 3dcopy
215215
imports:
216216
# list[nipype2pydra.task.base.importstatement] - list import statements required by the test, with each list item

example-specs/task/nipype/afni/deconvolve.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ doctests:
248248
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
249249
# If the field is of file-format type and the value is None, then the
250250
# '.mock()' method of the corresponding class is used instead.
251-
in_files:
251+
in_files: '["functional.nii", "functional2.nii"]'
252252
# type=inputmultiobject|default=[]: filenames of 3D+time input datasets. More than one filename can be given and the datasets will be auto-catenated in time. You can input a 1D time series file here, but the time axis should run along the ROW direction, not the COLUMN direction as in the 'input1D' option.
253253
out_file: '"output.nii"'
254254
# type=file: output statistics file

example-specs/task/nipype/afni/degree_centrality.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ doctests:
155155
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
156156
# If the field is of file-format type and the value is None, then the
157157
# '.mock()' method of the corresponding class is used instead.
158-
in_file:
158+
in_file: '"functional.nii"'
159159
# type=file|default=<undefined>: input file to 3dDegreeCentrality
160-
mask:
160+
mask: '"mask.nii"'
161161
# type=file|default=<undefined>: mask file to mask input data
162162
sparsity: '1 # keep the top one percent of connections'
163163
# type=float|default=0.0: only take the top percent of connections

example-specs/task/nipype/afni/despike.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ doctests:
124124
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
125125
# If the field is of file-format type and the value is None, then the
126126
# '.mock()' method of the corresponding class is used instead.
127-
in_file:
127+
in_file: '"functional.nii"'
128128
# type=file|default=<undefined>: input file to 3dDespike
129129
imports:
130130
# list[nipype2pydra.task.base.importstatement] - list import statements required by the test, with each list item

example-specs/task/nipype/afni/detrend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ doctests:
131131
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
132132
# If the field is of file-format type and the value is None, then the
133133
# '.mock()' method of the corresponding class is used instead.
134-
in_file:
134+
in_file: '"functional.nii"'
135135
# type=file|default=<undefined>: input file to 3dDetrend
136136
args: '"-polort 2"'
137137
# type=str|default='': Additional parameters to the command

example-specs/task/nipype/afni/dot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ doctests:
161161
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
162162
# If the field is of file-format type and the value is None, then the
163163
# '.mock()' method of the corresponding class is used instead.
164-
in_files:
164+
in_files: '["functional.nii[0]", "structural.nii"]'
165165
# type=list|default=[]: list of input files, possibly with subbrick selectors
166166
dodice: 'True'
167167
# type=bool|default=False: Return the Dice coefficient (the Sorensen-Dice index).

example-specs/task/nipype/afni/ecm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ doctests:
163163
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
164164
# If the field is of file-format type and the value is None, then the
165165
# '.mock()' method of the corresponding class is used instead.
166-
in_file:
166+
in_file: '"functional.nii"'
167167
# type=file|default=<undefined>: input file to 3dECM
168-
mask:
168+
mask: '"mask.nii"'
169169
# type=file|default=<undefined>: mask file to mask input data
170170
sparsity: '0.1 # keep top 0.1% of connections'
171171
# type=float|default=0.0: only take the top percent of connections

example-specs/task/nipype/afni/edge_3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ doctests:
144144
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
145145
# If the field is of file-format type and the value is None, then the
146146
# '.mock()' method of the corresponding class is used instead.
147-
in_file:
147+
in_file: '"functional.nii"'
148148
# type=file|default=<undefined>: input file to 3dedge3
149149
out_file: '"edges.nii"'
150150
# type=file: output file

example-specs/task/nipype/afni/eval.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ doctests:
160160
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
161161
# If the field is of file-format type and the value is None, then the
162162
# '.mock()' method of the corresponding class is used instead.
163-
in_file_a:
163+
in_file_a: '"seed.1D"'
164164
# type=file|default=<undefined>: input file to 1deval
165-
in_file_b:
165+
in_file_b: '"resp.1D"'
166166
# type=file|default=<undefined>: operand file to 1deval
167167
expr: '"a*b"'
168168
# type=str|default='': expr

example-specs/task/nipype/afni/fim.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ doctests:
146146
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
147147
# If the field is of file-format type and the value is None, then the
148148
# '.mock()' method of the corresponding class is used instead.
149-
in_file:
149+
in_file: '"functional.nii"'
150150
# type=file|default=<undefined>: input file to 3dfim+
151-
ideal_file:
151+
ideal_file: '"seed.1D"'
152152
# type=file|default=<undefined>: ideal time series file name
153153
out_file: '"functional_corr.nii"'
154154
# type=file: output file

example-specs/task/nipype/afni/fourier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ doctests:
140140
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
141141
# If the field is of file-format type and the value is None, then the
142142
# '.mock()' method of the corresponding class is used instead.
143-
in_file:
143+
in_file: '"functional.nii"'
144144
# type=file|default=<undefined>: input file to 3dFourier
145145
retrend: 'True'
146146
# type=bool|default=False: Any mean and linear trend are removed before filtering. This will restore the trend after filtering.

example-specs/task/nipype/afni/fwh_mx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ doctests:
245245
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
246246
# If the field is of file-format type and the value is None, then the
247247
# '.mock()' method of the corresponding class is used instead.
248-
in_file:
248+
in_file: '"functional.nii"'
249249
# type=file|default=<undefined>: input dataset
250250
imports:
251251
# list[nipype2pydra.task.base.importstatement] - list import statements required by the test, with each list item

example-specs/task/nipype/afni/gcor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ doctests:
127127
# dict[str, str] - name-value pairs for inputs to be provided to the doctest.
128128
# If the field is of file-format type and the value is None, then the
129129
# '.mock()' method of the corresponding class is used instead.
130-
in_file:
130+
in_file: '"structural.nii"'
131131
# type=file|default=<undefined>: input dataset to compute the GCOR over
132132
nfirst: '4'
133133
# type=int|default=0: specify number of initial TRs to ignore

0 commit comments

Comments
 (0)