@@ -71,19 +71,19 @@ def test_clone_node_iterables(tmpdir):
7171 tmpdir .chdir ()
7272
7373 def addstr (string ):
74- return ('%s+ 2' % string )
74+ return ('%s + 2' % string )
7575
7676 subject_list = ['sub-001' , 'sub-002' ]
77- inputnode = pe .Node (niu .IdentityInterface (fields = ['subject' ]),
78- name = 'inputnode' )
77+ inputnode = pe .Node (niu .IdentityInterface (fields = ['subject' ]),
78+ name = 'inputnode' )
7979 inputnode .iterables = [('subject' , subject_list )]
8080
8181 node_1 = pe .Node (niu .Function (input_names = 'string' ,
82- output_names = 'string' ,
83- function = addstr ),name = 'node_1' )
82+ output_names = 'string' ,
83+ function = addstr ), name = 'node_1' )
8484 node_2 = node_1 .clone ('node_2' )
8585
8686 workflow = pe .Workflow (name = 'iter_clone_wf' )
87- workflow .connect ([(inputnode , node_1 , [('subject' ,'string' )]),
88- (node_1 , node_2 , [('string' ,'string' )])])
87+ workflow .connect ([(inputnode , node_1 , [('subject' , 'string' )]),
88+ (node_1 , node_2 , [('string' , 'string' )])])
8989 workflow .run ()
0 commit comments