Skip to content

Commit 8fb1946

Browse files
authored
Merge pull request #1716 from alexsavio/clifix
Fix examples in docstrings in cli.py
2 parents c0298f1 + c683501 commit 8fb1946

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nipype/scripts/cli.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def search(logdir, regex):
3333
a given regular expression.
3434
3535
Examples:\n
36-
nipype search nipype/wd/log -r '.*subject123.*'
36+
nipypecli search nipype/wd/log -r '.*subject123.*'
3737
"""
3838
from .crash_files import iter_tracebacks
3939

@@ -61,8 +61,8 @@ def crash(crashfile, rerun, debug, ipydebug, dir):
6161
For certain crash files, one can rerun a failed node in a temp directory.
6262
6363
Examples:\n
64-
nipype crash crashfile.pklz\n
65-
nipype crash crashfile.pklz -r -i\n
64+
nipypecli crash crashfile.pklz\n
65+
nipypecli crash crashfile.pklz -r -i\n
6666
"""
6767
from .crash_files import display_crash_file
6868

@@ -82,7 +82,7 @@ def show(pklz_file):
8282
"""Print the content of Nipype node .pklz file.
8383
8484
Examples:\n
85-
nipype show node.pklz
85+
nipypecli show node.pklz
8686
"""
8787
from pprint import pprint
8888
from ..utils.filemanip import loadpkl
@@ -104,8 +104,8 @@ def run(ctx, module, interface, list, help):
104104
"""Run a Nipype Interface.
105105
106106
Examples:\n
107-
nipype run nipype.interfaces.nipy --list\n
108-
nipype run nipype.interfaces.nipy ComputeMask --help
107+
nipypecli run nipype.interfaces.nipy --list\n
108+
nipypecli run nipype.interfaces.nipy ComputeMask --help
109109
"""
110110
import argparse
111111
from .utils import add_args_options

0 commit comments

Comments
 (0)