Skip to content

Commit a40ee7e

Browse files
committed
remove unused function
1 parent 64317f4 commit a40ee7e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

nipype/scripts/cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
ExistingFilePath,
1111
UnexistingFilePath,
1212
RegularExpression,
13-
PythonModule,
14-
grouper)
13+
PythonModule,)
1514

1615

1716
# declare the CLI group

nipype/scripts/utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,3 @@ def add_args_options(arg_parser, interface):
6969
arg_parser.add_argument("--%s" % name, dest=name,
7070
help=desc, **args)
7171
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

Comments
 (0)