Skip to content

"Recompute selected" crashes

  1. In debug mode, open a project with a photo with at least one region.
  2. Compute e.g. GLCM Contrast for the region.
  3. Select the result in the measurements table, click "Recompute selected". Program crashes:
Traceback (most recent call last):
  File "D:\work\arthropods\arthropoddescriber2repository\arthropod_describer_py\arthropod_describer\measurements_viewer\measurements_viewer.py", line 507, in recompute
    prop_comp = self.computation_widget.computations_model.computations_dict[prop_key]
KeyError: 'arthropod_describer.plugins.maphis.properties.glcm.contrast'

Process finished with exit code 1

  1. In debug mode, open a project with a photo with at least one region.
  2. Compute Oriented bounding box dimensions (Width, Length) for the region.
  3. Select the result in the measurements table, click "Recompute selected". Program crashes:
Traceback (most recent call last):
  File "D:\work\arthropods\arthropoddescriber2repository\arthropod_describer_py\arthropod_describer\measurements_viewer\measurements_viewer.py", line 507, in recompute
    prop_comp = self.computation_widget.computations_model.computations_dict[prop_key]
KeyError: 'arthropod_describer.plugins.maphis.properties.oriented_bbox_dimensions.length'

Process finished with exit code 1

The same also happens at least for Circularity, Area, Mean RGB, and maybe (all?) others.