@@ -244,7 +244,7 @@ def _submit_mapnode(self, jobid):
244
244
mapnodesubids = self .procs [jobid ].get_subnodes ()
245
245
numnodes = len (mapnodesubids )
246
246
logger .debug ('Adding %d jobs for mapnode %s' , numnodes ,
247
- self .procs [jobid ]. fullname )
247
+ self .procs [jobid ])
248
248
for i in range (numnodes ):
249
249
self .mapnodesubids [self .depidx .shape [0 ] + i ] = jobid
250
250
self .procs .extend (mapnodesubids )
@@ -343,31 +343,31 @@ def _local_hash_check(self, jobid, graph):
343
343
logger .warning (
344
344
'Error while checking node hash, forcing re-run. '
345
345
'Although this error may not prevent the workflow from running, '
346
- 'it could indicate a major problem. Please report a new issue'
347
- 'at https://github.com/nipy/nipype/issues adding the following'
346
+ 'it could indicate a major problem. Please report a new issue '
347
+ 'at https://github.com/nipy/nipype/issues adding the following '
348
348
'information:\n \n \t Node: %s\n \t Interface: %s.%s\n \t Traceback:\n %s' ,
349
- self .procs [jobid ]. fullname ,
349
+ self .procs [jobid ],
350
350
self .procs [jobid ].interface .__module__ ,
351
351
self .procs [jobid ].interface .__class__ .__name__ ,
352
352
'\n ' .join (format_exception (* sys .exc_info ()))
353
353
)
354
354
return False
355
355
356
356
logger .debug ('Checking hash "%s" locally: cached=%s, updated=%s.' ,
357
- self .procs [jobid ]. fullname , cached , updated )
357
+ self .procs [jobid ], cached , updated )
358
358
overwrite = self .procs [jobid ].overwrite
359
359
always_run = self .procs [jobid ].interface .always_run
360
360
361
361
if cached and updated and (overwrite is False or
362
362
overwrite is None and not always_run ):
363
363
logger .debug ('Skipping cached node %s with ID %s.' ,
364
- self .procs [jobid ]. _id , jobid )
364
+ self .procs [jobid ], jobid )
365
365
try :
366
366
self ._task_finished_cb (jobid , cached = True )
367
367
self ._remove_node_dirs ()
368
368
except Exception :
369
369
logger .debug ('Error skipping cached node %s (%s).\n \n %s' ,
370
- self .procs [jobid ]. _id , jobid ,
370
+ self .procs [jobid ], jobid ,
371
371
'\n ' .join (format_exception (* sys .exc_info ())))
372
372
self ._clean_queue (jobid , graph )
373
373
self .proc_pending [jobid ] = False
@@ -380,7 +380,7 @@ def _task_finished_cb(self, jobid, cached=False):
380
380
This is called when a job is completed.
381
381
"""
382
382
logger .info ('[Job %d] %s (%s).' , jobid , 'Cached'
383
- if cached else 'Completed' , self .procs [jobid ]. fullname )
383
+ if cached else 'Completed' , self .procs [jobid ])
384
384
if self ._status_callback :
385
385
self ._status_callback (self .procs [jobid ], 'end' )
386
386
# Update job and worker queues
0 commit comments