Skip to content

Commit 8be56b6

Browse files
committed
Moved private members from class to instance
1 parent 79d1024 commit 8be56b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/pipeline/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,14 +1275,14 @@ class GraftWorkflow(InterfacedWorkflow):
12751275
>>> wf.inputs.thresh = 1.0
12761276
>>> wf.run() # doctest: +SKIP
12771277
"""
1278-
_children = dict()
1279-
_outnodes = dict()
12801278

12811279
def __init__(self, name, base_dir=None, fields_from=None,
12821280
input_names=[], output_names=[]):
12831281
"""
12841282
Initializes the workflow from an existing InterfacedWorkflow
12851283
"""
1284+
_children = dict()
1285+
_outnodes = dict()
12861286
from nipype.interfaces.utility import IdentityInterface, CollateInterface
12871287
fields_undefined = ((input_names is None) or (output_names is None))
12881288
wf_undefined = (fields_from is None)

0 commit comments

Comments
 (0)