Skip to content

Commit 6e00306

Browse files
committed
fix linting
1 parent 0137243 commit 6e00306

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/pipeline/engine/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ def make_output_dir(outdir):
10821082
except OSError:
10831083
logger.debug("Problem creating %s", outdir)
10841084
if not os.path.exists(outdir):
1085-
raise OSError('Could not create %s', outdir)
1085+
raise OSError('Could not create %s' % outdir)
10861086
return outdir
10871087

10881088

@@ -1269,7 +1269,7 @@ def write_workflow_prov(graph, filename=None, format='all'):
12691269
ps.g.add_bundle(sub_bundle)
12701270
bundle_entity = ps.g.entity(sub_bundle.identifier,
12711271
other_attributes={'prov:type':
1272-
pm.PROV_BUNDLE})
1272+
pm.PROV_BUNDLE})
12731273
ps.g.wasGeneratedBy(bundle_entity, process)
12741274
else:
12751275
process.add_attributes({pm.PROV["type"]: nipype_ns["Node"]})
@@ -1282,7 +1282,7 @@ def write_workflow_prov(graph, filename=None, format='all'):
12821282
ps.g.add_bundle(result_bundle)
12831283
bundle_entity = ps.g.entity(result_bundle.identifier,
12841284
other_attributes={'prov:type':
1285-
pm.PROV_BUNDLE})
1285+
pm.PROV_BUNDLE})
12861286
ps.g.wasGeneratedBy(bundle_entity, process)
12871287
processes.append(process)
12881288

0 commit comments

Comments
 (0)