We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64317f4 commit a40ee7eCopy full SHA for a40ee7e
nipype/scripts/cli.py
@@ -10,8 +10,7 @@
10
ExistingFilePath,
11
UnexistingFilePath,
12
RegularExpression,
13
- PythonModule,
14
- grouper)
+ PythonModule,)
15
16
17
# declare the CLI group
nipype/scripts/utils.py
@@ -69,10 +69,3 @@ def add_args_options(arg_parser, interface):
69
arg_parser.add_argument("--%s" % name, dest=name,
70
help=desc, **args)
71
return arg_parser
72
-
73
74
-def grouper(iterable, n, fillvalue=None):
75
- "Collect data into fixed-length chunks or blocks"
76
- # grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx
77
- args = [iter(iterable)] * n
78
- return zip_longest(fillvalue=fillvalue, *args)
0 commit comments