You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally this seemed to be related to the major updates now available in v1.0a41 - For example, the cells
annotations = viewer.get_annotations_enabled
annotations
return
TypeError: Cannot read properties of undefined (reading 'getAnnotationsEnabled')
Testing with previous releases shows that this is actually a long-standing issue. It seems that the reference to the window object returned from api.createWindow no longer has the ImJoyPluginAPI available after another window is created.
I like the improvement @oeway made with hypha -- it is more functional, passing a reference to all objects used in the API, like the viewer in this case. Maybe need a version of that with the imjoy rpc?
When there are multiple viewers within one notebook only calls to the most recently created viewer succeed. For example:
Originally this seemed to be related to the major updates now available in
v1.0a41
- For example, the cellsreturn
Testing with previous releases shows that this is actually a long-standing issue. It seems that the reference to the window object returned from
api.createWindow
no longer has the ImJoyPluginAPI available after another window is created.@oeway Have you seen behavior like this before?
The text was updated successfully, but these errors were encountered: