

@classmethod
def __setgluestate__(cls, rec, context):
    viewer = getattr(getmodule(ViewerState), rec['viewer_cls'])
    settings = context.object(rec['settings'])
    roi = context.object(rec['roi'])
    return cls(context, roi, settings)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py CustomSubsetState.__setgluestate__/VarMisuse@59/75 `viewer`->`context`