Editor crashes with KeyError on block parameters
Traceback (most recent call last):
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/assetwidget.py", line 507, in loadAsset
self.__update_content(declaration)
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/assetwidget.py", line 234, in __update_content
self.__updateJsonWidget()
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/assetwidget.py", line 319, in __updateJsonWidget
self.json_widget.setText(self.current_editor.dump_as_string())
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/editor.py", line 299, in dump_as_string
self.dump_json(), sort_keys=True, indent=4, cls=utils.NumpyJSONEncoder
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/editor.py", line 292, in dump_json
json_data.update(self._dump_json())
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/experimenteditor.py", line 1435, in _dump_json
__filter_parameters(item, globals_)
File "miniconda/envs/iris/lib/python3.7/site-packages/beat/editor/widgets/experimenteditor.py", line 1411, in __filter_parameters
block_parameters[parameter_name]
KeyError: 'useBestGuess'
To reproduce:
- use this prefix: https://filesender.switch.ch/filesender/?vid=59e1dbc9-04e4-67c8-2bb1-00007d77b3bb
- start beat editor
- open this experiment:
├── experiments
│ └── jmcgrat3
│ └── jmcgrat3
│ └── livdet-baseline
│ └── 1
│ └── livdet-baseline.json