Crash with TypeError: '<' not supported between instances of 'numpy.ndarray' and 'str'
Traceback (most recent call last):
File "src/beat.editor/beat/editor/widgets/assetwidget.py", line 507, in loadAsset
self.__update_content(declaration)
File "src/beat.editor/beat/editor/widgets/assetwidget.py", line 227, in __update_content
editor.load_json(json_data)
File "src/beat.editor/beat/editor/widgets/editor.py", line 276, in load_json
self._load_json(json_object)
File "src/beat.editor/beat/editor/widgets/plotterparameterseditor.py", line 497, in _load_json
self.__load_json(json_object)
File "src/beat.editor/beat/editor/widgets/plotterparameterseditor.py", line 462, in __load_json
self.__load_parameter(json_object)
File "src/beat.editor/beat/editor/widgets/plotterparameterseditor.py", line 447, in __load_parameter
parameter_viewer = PlotterParameterViewer(name, data)
File "src/beat.editor/beat/editor/widgets/plotterparameterseditor.py", line 256, in __init__
self.parameter_widget = RestrictedParameterWidget(data)
File "src/beat.editor/beat/editor/widgets/plotterparameterseditor.py", line 185, in __init__
self.numerical_spinbox.setValue(self.default)
File "src/beat.editor/beat/editor/widgets/spinboxes.py", line 183, in setValue
if value > self.maximum():
TypeError: '<' not supported between instances of 'numpy.ndarray' and 'str'
Steps to reproduce:
$ beat plotterparam pull plot/isoroc/1
# open it with the editor