@@ -260,7 +260,7 @@ def output_dir(self):
260260 return self ._output_dir
261261
262262 def set_input (self , parameter , val ):
263- """ Set interface input value"""
263+ """Set interface input value"""
264264 logger .debug ('[Node] %s - setting input %s = %s' ,
265265 self .name , parameter , to_str (val ))
266266 setattr (self .inputs , parameter , deepcopy (val ))
@@ -270,7 +270,7 @@ def get_output(self, parameter):
270270 return getattr (self .result .outputs , parameter , None )
271271
272272 def help (self ):
273- """ Print interface help"""
273+ """Print interface help"""
274274 self ._interface .help ()
275275
276276 def hash_exists (self , updatehash = False ):
@@ -573,7 +573,7 @@ def _run_command(self, execute, copyfiles=True):
573573
574574 outdir = self .output_dir ()
575575 if copyfiles :
576- self ._originputs = deepcopy (self .interface .inputs )
576+ self ._originputs = deepcopy (self ._interface .inputs )
577577 self ._copyfiles_to_wd (execute = execute )
578578
579579 message = '[Node] Running "%s" ("%s.%s")'
@@ -615,7 +615,7 @@ def _run_command(self, execute, copyfiles=True):
615615 return result
616616
617617 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"""
619619 if not hasattr (self ._interface , '_get_filecopy_info' ):
620620 # Nothing to be done
621621 return
@@ -629,7 +629,7 @@ def _copyfiles_to_wd(self, execute=True, linksonly=False):
629629 outdir = op .join (outdir , '_tempinput' )
630630 makedirs (outdir , exist_ok = True )
631631
632- for info in self .interface ._get_filecopy_info ():
632+ for info in self ._interface ._get_filecopy_info ():
633633 files = self .inputs .get ().get (info ['key' ])
634634 if not isdefined (files ) or not files :
635635 continue
@@ -966,8 +966,8 @@ def _create_dynamic_traits(self, basetraits, fields=None, nitems=None):
966966 return output
967967
968968 def set_input (self , parameter , val ):
969- """ Set interface input value or nodewrapper attribute
970-
969+ """
970+ Set interface input value or nodewrapper attribute
971971 Priority goes to interface.
972972 """
973973 logger .debug ('setting nodelevel(%s) input %s = %s' ,
@@ -983,7 +983,7 @@ def _set_mapnode_input(self, name, newvalue):
983983 setattr (self ._interface .inputs , name , newvalue )
984984
985985 def _get_hashval (self ):
986- """ Compute hash including iterfield lists."""
986+ """Compute hash including iterfield lists."""
987987 self ._get_inputs ()
988988 self ._check_iterfield ()
989989 hashinputs = deepcopy (self ._interface .inputs )
@@ -1017,8 +1017,8 @@ def inputs(self):
10171017
10181018 @property
10191019 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 ())
10221022
10231023 def _make_nodes (self , cwd = None ):
10241024 if cwd is None :
0 commit comments