Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5599348

Browse files
committed
TEST: Fix doctests, add example file stubs
1 parent 8c9c041 commit 5599348

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

‎nipype/interfaces/mrtrix3/utils.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ class MaskFilter(CommandLine):
12331233
>>> mf.inputs.out_file = 'mask_filtered.mif'
12341234
>>> mf.cmdline
12351235
'maskfilter -npass 2 mask.mif dilate mask_filtered.mif'
1236-
>>> mf.run()
1236+
>>> mf.run() # doctest: +SKIP
12371237
"""
12381238

12391239
_cmd = "maskfilter"
@@ -1290,16 +1290,16 @@ class MTNormalise(CommandLine):
12901290
12911291
>>> import nipype.interfaces.mrtrix3 as mrt
12921292
>>> mtn = mrt.MTNormalise()
1293-
>>> mtn.inputs.fod_wm = 'wmfod.mif'
1294-
>>> mtn.inputs.fod_gm = 'gmfod.mif'
1295-
>>> mtn.inputs.fod_csf = 'csffod.mif'
1293+
>>> mtn.inputs.wm_fod = 'wmfod.mif'
1294+
>>> mtn.inputs.gm_fod = 'gmfod.mif'
1295+
>>> mtn.inputs.csf_fod = 'csffod.mif'
12961296
>>> mtn.inputs.out_file_wm = 'wmfod_norm.mif'
12971297
>>> mtn.inputs.out_file_gm = 'gmfod_norm.mif'
12981298
>>> mtn.inputs.out_file_csf = 'csffod_norm.mif'
12991299
>>> mtn.inputs.mask = 'mask.mif'
13001300
>>> mtn.cmdline
13011301
'mtnormalise wmfod.mif wmfod_norm.mif gmfod.mif gmfod_norm.mif csffod.mif csffod_norm.mif -mask mask.mif'
1302-
>>> mtn.run()
1302+
>>> mtn.run() # doctest: +SKIP
13031303
"""
13041304

13051305
_cmd = "mtnormalise"
@@ -1355,7 +1355,7 @@ class Generate5tt2gmwmi(CommandLine):
13551355
>>> gmwmi.inputs.mask_out = 'mask_gmwmi.mif'
13561356
>>> gmwmi.cmdline
13571357
'5tt2gmwmi 5tt_in.mif mask_gmwmi.mif'
1358-
>>> gmwmi.run()
1358+
>>> gmwmi.run() # doctest: +SKIP
13591359
"""
13601360

13611361
_cmd = "5tt2gmwmi"

‎nipype/testing/data/5tt_in.mif‎

Whitespace-only changes.

‎nipype/testing/data/csffod.mif‎

Whitespace-only changes.

‎nipype/testing/data/gmfod.mif‎

Whitespace-only changes.

‎nipype/testing/data/wmfod.mif‎

Whitespace-only changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /