File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,7 @@ def audit_task(self, task):
190
190
input_path = None
191
191
file_hash = None
192
192
# at_location = os.path.abspath(input_name)
193
-
194
-
193
+
195
194
# if hasattr(task.inputs, "in_file"):
196
195
# input_file = task.inputs.in_file
197
196
# file_hash = hash_file(input_file)
@@ -229,15 +228,13 @@ def audit_task(self, task):
229
228
}
230
229
entity_id = f"uid:{ gen_uuid ()} "
231
230
entity_message = {
232
- "@id" : entity_id , # add ID here
231
+ "@id" : entity_id , # add ID here
233
232
"Label" : print (entity_label ),
234
- "AtLocation" : input_path , # at_location,
233
+ "AtLocation" : input_path , # at_location,
235
234
"GeneratedBy" : "test" , # if not part of workflow, this will be none
236
235
"@type" : "input" ,
237
- "digest" : file_hash # hash value under helpers.py
236
+ "digest" : file_hash , # hash value under helpers.py
238
237
}
239
238
240
-
241
239
self .audit_message (start_message , AuditFlag .PROV )
242
240
self .audit_message (entity_message , AuditFlag .PROV )
243
-
You can’t perform that action at this time.
0 commit comments