Skip to content

Commit

Permalink
Fix .mat file loading (#750)
Browse files Browse the repository at this point in the history
Remove the spurious "Class" attribute
  • Loading branch information
lfarv committed Mar 22, 2024
1 parent 6c07fe9 commit f4554a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyat/at/load/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def low_order(key):
low = -1
return low

class_name = elem_dict.get("Class", "")
class_name = elem_dict.pop("Class", "")
try:
return _CLASS_MAP[class_name.lower()]
except KeyError:
Expand Down

0 comments on commit f4554a9

Please sign in to comment.