Skip to content

Commit 230d0ef

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7d3845e commit 230d0ef

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

pydra/engine/audit.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,15 @@ def audit_task(self, task):
190190
file_hash = hash_file(input_path)
191191
entity_id = f"uid:{gen_uuid()}"
192192
entity_message = {
193-
"@id": entity_id,
193+
"@id": entity_id,
194194
"Label": print(entity_label),
195195
"AtLocation": input_path,
196-
"GeneratedBy": "test",
196+
"GeneratedBy": "test",
197197
"@type": "input",
198-
"digest": file_hash
198+
"digest": file_hash,
199199
}
200200
self.audit_message(entity_message, AuditFlag.PROV)
201201

202-
203-
204202
if command is not None:
205203
cmd_name = command.split()[0]
206204
software = f"{cmd_name} --version"
@@ -227,9 +225,5 @@ def audit_task(self, task):
227225
"StartedAtTime": now(),
228226
"AssociatedWith": version_cmd,
229227
}
230-
231-
232228

233229
self.audit_message(start_message, AuditFlag.PROV)
234-
235-

0 commit comments

Comments
 (0)