Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Nov 13, 2024
1 parent ffd4ec8 commit 92eb1e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/eko/io/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ def load(cls, path: Path):
assert op.operator.shape[1] == op.operator.shape[3]
assert op.operator.shape[0] == op.operator.shape[2]
except AssertionError as exc:
raise ValueError("Not squared EKOs are no longer supported.") from exc
raise ValueError(
"Loading not squared EKOs is no longer possible."
) from exc

return loaded

Expand Down

0 comments on commit 92eb1e3

Please sign in to comment.