@@ -260,7 +260,7 @@ def output_dir(self):
260
260
return self ._output_dir
261
261
262
262
def set_input (self , parameter , val ):
263
- """ Set interface input value"""
263
+ """Set interface input value"""
264
264
logger .debug ('[Node] %s - setting input %s = %s' ,
265
265
self .name , parameter , to_str (val ))
266
266
setattr (self .inputs , parameter , deepcopy (val ))
@@ -270,7 +270,7 @@ def get_output(self, parameter):
270
270
return getattr (self .result .outputs , parameter , None )
271
271
272
272
def help (self ):
273
- """ Print interface help"""
273
+ """Print interface help"""
274
274
self ._interface .help ()
275
275
276
276
def hash_exists (self , updatehash = False ):
@@ -573,7 +573,7 @@ def _run_command(self, execute, copyfiles=True):
573
573
574
574
outdir = self .output_dir ()
575
575
if copyfiles :
576
- self ._originputs = deepcopy (self .interface .inputs )
576
+ self ._originputs = deepcopy (self ._interface .inputs )
577
577
self ._copyfiles_to_wd (execute = execute )
578
578
579
579
message = '[Node] Running "%s" ("%s.%s")'
@@ -615,7 +615,7 @@ def _run_command(self, execute, copyfiles=True):
615
615
return result
616
616
617
617
def _copyfiles_to_wd (self , execute = True , linksonly = False ):
618
- """ copy files over and change the inputs"""
618
+ """copy files over and change the inputs"""
619
619
if not hasattr (self ._interface , '_get_filecopy_info' ):
620
620
# Nothing to be done
621
621
return
@@ -629,7 +629,7 @@ def _copyfiles_to_wd(self, execute=True, linksonly=False):
629
629
outdir = op .join (outdir , '_tempinput' )
630
630
makedirs (outdir , exist_ok = True )
631
631
632
- for info in self .interface ._get_filecopy_info ():
632
+ for info in self ._interface ._get_filecopy_info ():
633
633
files = self .inputs .get ().get (info ['key' ])
634
634
if not isdefined (files ) or not files :
635
635
continue
@@ -966,8 +966,8 @@ def _create_dynamic_traits(self, basetraits, fields=None, nitems=None):
966
966
return output
967
967
968
968
def set_input (self , parameter , val ):
969
- """ Set interface input value or nodewrapper attribute
970
-
969
+ """
970
+ Set interface input value or nodewrapper attribute
971
971
Priority goes to interface.
972
972
"""
973
973
logger .debug ('setting nodelevel(%s) input %s = %s' ,
@@ -983,7 +983,7 @@ def _set_mapnode_input(self, name, newvalue):
983
983
setattr (self ._interface .inputs , name , newvalue )
984
984
985
985
def _get_hashval (self ):
986
- """ Compute hash including iterfield lists."""
986
+ """Compute hash including iterfield lists."""
987
987
self ._get_inputs ()
988
988
self ._check_iterfield ()
989
989
hashinputs = deepcopy (self ._interface .inputs )
@@ -1017,8 +1017,8 @@ def inputs(self):
1017
1017
1018
1018
@property
1019
1019
def outputs (self ):
1020
- if self .interface ._outputs ():
1021
- return Bunch (self .interface ._outputs ().get ())
1020
+ if self ._interface ._outputs ():
1021
+ return Bunch (self ._interface ._outputs ().get ())
1022
1022
1023
1023
def _make_nodes (self , cwd = None ):
1024
1024
if cwd is None :
0 commit comments