Skip to content
Snippets Groups Projects
Commit 3959031b authored by Sander Snoo's avatar Sander Snoo
Browse files

Improved exception message

parent 12ae0c23
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ class loop_obj():
elif self.ndim == 1 and other.ndim == 1 and self.axis[0] == other.axis[0]:
cpy.data += other.data
else:
raise Exception('Adding loop objects not supported')
raise Exception(f'Adding loop objects not supported, {self}, {other}')
# TODO equal axis and multiple dimensions
else:
cpy.data += other
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment