Skip to content

Commit a28ed37

Browse files
committed
Fixed commandline strings for centrality doctests
1 parent df8c65f commit a28ed37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ class DegreeCentrality(AFNICommand):
573573
>>> degree.inputs.sparsity = 1 # keep the top one percent of connections
574574
>>> degree.inputs.out_file = 'out.nii'
575575
>>> degree.cmdline
576-
'3dDegreeCentrality -sparsity 1 -mask mask.nii -prefix out.nii func_preproc.nii'
576+
'3dDegreeCentrality -mask mask.nii -prefix out.nii -sparsity 1.000000 functional.nii'
577577
>>> res = degree.run() # doctest: +SKIP
578578
"""
579579

@@ -661,7 +661,7 @@ class ECM(AFNICommand):
661661
>>> ecm.inputs.sparsity = 0.1 # keep top 0.1% of connections
662662
>>> ecm.inputs.out_file = 'out.nii'
663663
>>> ecm.cmdline
664-
'3dECM -sparsity 0.1 -mask mask.nii -prefix out.nii func_preproc.nii'
664+
'3dECM -mask mask.nii -prefix out.nii -sparsity 0.100000 functional.nii'
665665
>>> res = ecm.run() # doctest: +SKIP
666666
"""
667667

@@ -699,7 +699,7 @@ class LFCD(AFNICommand):
699699
>>> lfcd.inputs.thresh = 0.8 # keep all connections with corr >= 0.8
700700
>>> lfcd.inputs.out_file = 'out.nii'
701701
>>> lfcd.cmdline
702-
'3dLFCD -thresh 0.8 -mask mask.nii -prefix out.nii func_preproc.nii'
702+
'3dLFCD -mask mask.nii -prefix out.nii -thresh 0.800000 functional.nii'
703703
>>> res = lfcd.run() # doctest: +SKIP
704704
"""
705705

0 commit comments

Comments
 (0)