Skip to content

Commit 7f25112

Browse files
committed
fix: class names are capitalized camelcase
1 parent 3331825 commit 7f25112

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nipype/utils/provenance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def add_results(self, results):
286286
id = get_id()
287287
env_collection = self.g.collection(id)
288288
env_collection.add_extra_attributes({pm.PROV['type']:
289-
nipype_ns['environment'],
289+
nipype_ns['Environment'],
290290
pm.PROV['label']: "Environment"})
291291
self.g.used(a0, id)
292292
# write environment entities
@@ -309,7 +309,7 @@ def add_results(self, results):
309309
id = get_id()
310310
input_collection = self.g.collection(id)
311311
input_collection.add_extra_attributes({pm.PROV['type']:
312-
nipype_ns['inputs'],
312+
nipype_ns['Inputs'],
313313
pm.PROV['label']: "Inputs"})
314314
# write input entities
315315
for idx, (key, val) in enumerate(sorted(inputs.items())):
@@ -326,7 +326,7 @@ def add_results(self, results):
326326
if not isinstance(outputs, dict):
327327
outputs = outputs.get_traitsfree()
328328
output_collection.add_extra_attributes({pm.PROV['type']:
329-
nipype_ns['outputs'],
329+
nipype_ns['Outputs'],
330330
pm.PROV['label']:
331331
"Outputs"})
332332
self.g.wasGeneratedBy(output_collection, a0)
@@ -342,7 +342,7 @@ def add_results(self, results):
342342
id = get_id()
343343
runtime_collection = self.g.collection(id)
344344
runtime_collection.add_extra_attributes({pm.PROV['type']:
345-
nipype_ns['runtime'],
345+
nipype_ns['Runtime'],
346346
pm.PROV['label']:
347347
"RuntimeInfo"})
348348
self.g.wasGeneratedBy(runtime_collection, a0)

0 commit comments

Comments
 (0)