We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a17e977 commit d004b83Copy full SHA for d004b83
nipype/pipeline/engine.py
@@ -1298,6 +1298,10 @@ def run(self, updatehash=False):
1298
logger.debug(("%s found and can_resume is True or Node is a "
1299
"MapNode - resuming execution") %
1300
hashfile_unfinished)
1301
+ if isinstance(self, MapNode):
1302
+ # remove old json files
1303
+ for filename in glob(os.path.join(outdir, '*.json')):
1304
+ os.unlink(filename)
1305
outdir = make_output_dir(outdir)
1306
self._save_hashfile(hashfile_unfinished, hashed_inputs)
1307
self.write_report(report_type='preexec', cwd=outdir)
0 commit comments