Skip to content

Commit 2ac083a

Browse files
committed
fix: single doc
1 parent b908b84 commit 2ac083a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

bin/nipype_display_crash

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
2-
"""Displays crash information and can try to rerun a failed node
2+
"""Displays crash information from Nipype crash files. For certain crash files,
3+
one can rerun a failed node in a temp directory.
34
"""
45

56
import argparse
@@ -40,12 +41,8 @@ def display_crash_files(crashfile, rerun):
4041
print "\n"
4142

4243
if __name__ == "__main__":
43-
docstr= '''
44-
Display crash information from a nipype crash file
45-
'''
46-
4744
parser = argparse.ArgumentParser(prog='nipype_display_crash',
48-
description=docstr)
45+
description=__doc__)
4946
parser.add_argument('crashfile', metavar='f', type=str,
5047
help='crash file to display')
5148
parser.add_argument('-r','--rerun', dest='rerun',

0 commit comments

Comments
 (0)