Skip to content

Commit e73b15b

Browse files
Ryan CaliRyan Cali
authored andcommitted
Addressed all issues in audit
1 parent 9d037df commit e73b15b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pydra/engine/audit.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,12 @@ def audit_task(self, task):
180180
for attrs in attr_list:
181181
if attrs.type in [File, Directory]:
182182
input_name = attrs.name
183-
entity_label = attrs.name
184183
input_path = os.path.abspath(getattr(task.inputs, input_name))
185184
file_hash = hash_file(input_path)
186185
entity_id = f"uid:{gen_uuid()}"
187186
entity_message = {
188-
"@id": entity_id,
189-
"Label": entity_label,
187+
"@id": entity_id,
188+
"Label": input_name,
190189
"AtLocation": input_path,
191190
"GeneratedBy": None,
192191
"@type": "input",

0 commit comments

Comments
 (0)