Skip to content

Commit 00b2d68

Browse files
committed
fix: resolve role as a resource with a uri
1 parent 2cba32a commit 00b2d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/utils/provenance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ def add_results(self, results):
196196
agent_attr.update({nipype_ns[key]: safe_encode(value)})
197197
software_agent = self.g.agent(get_id(), agent_attr)
198198
self.g.wasAssociatedWith(a0, user_agent, None, None,
199-
{pm.PROV["Role"]: safe_encode("LoggedInUser")})
199+
{pm.PROV["Role"]: nipype_ns["LoggedInUser"]})
200200
self.g.wasAssociatedWith(a0, software_agent, None, None,
201-
{pm.PROV["Role"]: safe_encode("Software")})
201+
{pm.PROV["Role"]: nipype_ns["Software"]})
202202
return self.g
203203

204204
def write_provenance(self, filename='provenance', format='turtle'):

0 commit comments

Comments
 (0)