osscar-org / widget-periodictable

A jupyter widget to select chemical elements from the periodic table.
Other
12 stars 3 forks source link

Chosen elements are not registered #15

Closed CasperWA closed 4 years ago

CasperWA commented 4 years ago

Currently, the chosen elements don't seem to be saved in the Python widget attribute selected_elements. There doesn't seem to be a link between the widget in use (JavaScript/TypeScript) and the data in the backend (Python).

CasperWA commented 4 years ago

Hmm. Checking your binder edition. It seems there's something wrong with my setup. Will make some local tests and eventually close this issue if I don't find an issue :)

CasperWA commented 4 years ago

So after some testing. If I install the latest version from pip and enable it as an nbextension and run voila setting enable_nbextension to True, the selected_elements returns a list. I am very confused. Maybe my setup has been screwed up and it's taking the widget from somewhere weird. Do you then know how I could flush it and reinstall and reenable?

CasperWA commented 4 years ago

Closing this as this is the case for the latest versions.