Skip to content

Commit b3fa687

Browse files
committed
minor fixes
1 parent 4eedc7f commit b3fa687

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nipype/pipeline/plugins/base.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def _submit_mapnode(self, jobid):
244244
mapnodesubids = self.procs[jobid].get_subnodes()
245245
numnodes = len(mapnodesubids)
246246
logger.debug('Adding %d jobs for mapnode %s', numnodes,
247-
self.procs[jobid].fullname)
247+
self.procs[jobid])
248248
for i in range(numnodes):
249249
self.mapnodesubids[self.depidx.shape[0] + i] = jobid
250250
self.procs.extend(mapnodesubids)
@@ -343,31 +343,31 @@ def _local_hash_check(self, jobid, graph):
343343
logger.warning(
344344
'Error while checking node hash, forcing re-run. '
345345
'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 '
348348
'information:\n\n\tNode: %s\n\tInterface: %s.%s\n\tTraceback:\n%s',
349-
self.procs[jobid].fullname,
349+
self.procs[jobid],
350350
self.procs[jobid].interface.__module__,
351351
self.procs[jobid].interface.__class__.__name__,
352352
'\n'.join(format_exception(*sys.exc_info()))
353353
)
354354
return False
355355

356356
logger.debug('Checking hash "%s" locally: cached=%s, updated=%s.',
357-
self.procs[jobid].fullname, cached, updated)
357+
self.procs[jobid], cached, updated)
358358
overwrite = self.procs[jobid].overwrite
359359
always_run = self.procs[jobid].interface.always_run
360360

361361
if cached and updated and (overwrite is False or
362362
overwrite is None and not always_run):
363363
logger.debug('Skipping cached node %s with ID %s.',
364-
self.procs[jobid]._id, jobid)
364+
self.procs[jobid], jobid)
365365
try:
366366
self._task_finished_cb(jobid, cached=True)
367367
self._remove_node_dirs()
368368
except Exception:
369369
logger.debug('Error skipping cached node %s (%s).\n\n%s',
370-
self.procs[jobid]._id, jobid,
370+
self.procs[jobid], jobid,
371371
'\n'.join(format_exception(*sys.exc_info())))
372372
self._clean_queue(jobid, graph)
373373
self.proc_pending[jobid] = False
@@ -380,7 +380,7 @@ def _task_finished_cb(self, jobid, cached=False):
380380
This is called when a job is completed.
381381
"""
382382
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])
384384
if self._status_callback:
385385
self._status_callback(self.procs[jobid], 'end')
386386
# Update job and worker queues

0 commit comments

Comments
 (0)