Skip to content

Commit 0f32ea1

Browse files
committed
fix: doctest for DataFinder
1 parent d22219c commit 0f32ea1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,11 @@ class DataFinder(IOBase):
710710
Matched paths are available in the output 'out_paths'. Any named groups of
711711
captured text from the regular expression are also available as ouputs of
712712
the same name.
713+
713714
Examples
714715
--------
715716
716717
>>> from nipype.interfaces.io import DataFinder
717-
Look for Nifti files in directories with "ep2d_fid" or "qT1" in the name,
718-
starting in the current directory.
719718
>>> df = DataFinder()
720719
>>> df.inputs.root_paths = '.'
721720
>>> df.inputs.match_regex = '.+/(?P<series_dir>.+(qT1|ep2d_fid_T1).+)/(?P<basename>.+)\.nii.gz'
@@ -737,6 +736,7 @@ class DataFinder(IOBase):
737736
'acquisition']
738737
739738
"""
739+
740740
input_spec = DataFinderInputSpec
741741
output_spec = DynamicTraitedSpec
742742
_always_run = True

0 commit comments

Comments
 (0)