pyrocko / kite

InSAR unwrapped surface displacement processing for earthquake modelling.
https://pyrocko.org/kite/
GNU General Public License v3.0
79 stars 34 forks source link

No sliders for epsilon, nan_allowed etc./ no tabs for Scene.covariance, Scene.APS #124

Open vanhog opened 6 months ago

vanhog commented 6 months ago

Obviously due to a SliderWidgetParameterItem issue, parts of the spool-window where missing after a fresh installation of kite:

Traceback (most recent call last):

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/tab_scene.py:276 in changeComponent
    self.plot.component = parameter.value()

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/base.py:293 in component
    raise AttributeError("Invalid component %s" % component)

AttributeError: Invalid component 

Traceback (most recent call last):

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/spool.py:158 in buildViews
    self.addView(v)

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/spool.py:175 in addView
    view = view(self)

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/tab_quadtree.py:23 in __init__
    self.param_quadtree = KiteParamQuadtree(model, self.main_widget, expanded=True)

  File /path_to_/pyrocko/lib/python3.11/site-packages/kite/spool/tab_quadtree.py:296 in __init__
    self.epsilon.itemClass = SliderWidgetParameterItem

AttributeError: property 'itemClass' of 'SimpleParameter' object has no setter

A workaround was to downgrade pyqtgraph to version 0.12.4.