ProtoLife / daptics-api

API documentation and clients for the daptics.ai design of experiments engine
https://daptics.ai
GNU General Public License v3.0
1 stars 1 forks source link

jupyter notebooks unreadable / unsaveable #40

Closed nhpackard closed 2 years ago

nhpackard commented 2 years ago

Try to open 06_AutomationWorkiflow.ipynb, get

image

Try to save, get:

image

Don't know why it is looking in python subdir.

Workaround: launch new notebook, copy cells over.

nhpackard commented 2 years ago

This seems to be happening because

  1. old notebooks seem to have metadata telling jupyter to save a version in a .py file.
    • jupyter notebook gives access to editing metadata, jupyter lab requires an extension to do so.
  2. errors in reading/writing, with old jupyter components.

Fix: update all jupyter components.

E.g.

$ python --version
Python 3.9.5

$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.4.0
ipykernel        : 6.15.1
ipywidgets       : 7.7.1
jupyter_client   : 7.3.4
jupyter_core     : 4.11.1
jupyter_server   : 1.18.1
jupyterlab       : 3.4.4
nbclient         : 0.5.13
nbconvert        : 6.5.0
nbformat         : 5.4.0
notebook         : 6.4.12
qtconsole        : 5.3.1
traitlets        : 5.3.0