Skip to content

Commit 5cb476e

Browse files
committed
revert changes to plugin base - make in different PR
1 parent d21b321 commit 5cb476e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nipype/pipeline/plugins/base.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _local_hash_check(self, jobid, graph):
339339
logger.debug('Skipping cached node %s with ID %s.',
340340
self.procs[jobid]._id, jobid)
341341
try:
342-
self._task_finished_cb(jobid, cached=True)
342+
self._task_finished_cb(jobid)
343343
self._remove_node_dirs()
344344
except Exception:
345345
logger.debug('Error skipping cached node %s (%s).',
@@ -349,14 +349,13 @@ def _local_hash_check(self, jobid, graph):
349349
return True
350350
return False
351351

352-
def _task_finished_cb(self, jobid, cached=False):
352+
def _task_finished_cb(self, jobid):
353353
""" Extract outputs and assign to inputs of dependent tasks
354354
355355
This is called when a job is completed.
356356
"""
357-
logger.info('[Job %d] %s (%s).', jobid,
358-
'Cached' if cached else 'Completed',
359-
self.procs[jobid].fullname)
357+
logger.info('[Job finished] jobname: %s jobid: %d' %
358+
(self.procs[jobid]._id, jobid))
360359
if self._status_callback:
361360
self._status_callback(self.procs[jobid], 'end')
362361
# Update job and worker queues

0 commit comments

Comments
 (0)