Commit bf9bbb2e authored by payno's avatar payno
Browse files

[gui/dimension] Add an assert on dims types when setDims

parent 7b6b5b83
......@@ -108,6 +108,7 @@ class DimensionMapping(qt.QWidget):
assert type(dims) is dict
for axis, dim in dims.items():
assert type(axis) is int
assert isinstance(dim, Dim)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment