Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ease-dev] Jupyter UI

Hi,

the EASE Jupyter UI integration is now available on github [1].
The README should describe everything you need to know in order to give it a try. If something is still unclear please let me know and I will update the documentation accordingly.

At the moment you can only create and launch Jupyter notebook files for EASE engines. I store additional information about what engine to use in the *.ipynb file and parse this information when starting Jupyter. As standard notebook files lack this information, I cannot start them at the moment.

There would be a rather simple workaround for you to also be able to create and launch "standard" notebook files.
If Jupyter detects a kernel it does not recognize, it will prompt you to select one based on the currently installed kernels. This is all done directly in Jupyter and I would not need to query for available kernels.
Basically I would tell Jupyter to use a kernel "IGNORE" (or another placeholder). When Jupyter comes up you can then decide which kernel you want to use. After you have selected a kernel and saved the file you will not be prompted anymore.

There are some potential downsides to this:
  • You will not be able to select an EASE kernel after you created the ipynb file as a "normal" Jupyter file.
  • If users have a kernel named "IGNORE" installed, this kernel will start up.
What do you think, should I include this cheap hack or just restrict it to EASE Jupyter files?

Best regards,
Martin

[1] https://github.com/kmhsonnenkind/ease_jupyter_kernels

Back to the top