Skip to content

Commit ebd1f60

Browse files
committed
Reversing the order of the name and iterfield args in MapNode
1 parent 95921c8 commit ebd1f60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/pipeline/engine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,20 +1666,20 @@ class MapNode(Node):
16661666
16671667
"""
16681668

1669-
def __init__(self, interface, name, iterfield, **kwargs):
1669+
def __init__(self, interface, iterfield, name, **kwargs):
16701670
"""
16711671
16721672
Parameters
16731673
----------
16741674
interface : interface object
16751675
node specific interface (fsl.Bet(), spm.Coregister())
1676-
name : alphanumeric string
1677-
node specific name
16781676
iterfield : string or list of strings
16791677
name(s) of input fields that will receive a list of whatever kind
16801678
of input they take. the node will be run separately for each
16811679
value in these lists. for more than one input, the values are
16821680
paired (i.e. it does not compute a combinatorial product).
1681+
name : alphanumeric string
1682+
node specific name
16831683
16841684
See Node docstring for additional keyword arguments.
16851685
"""

0 commit comments

Comments
 (0)