Back to Projects List
- Jean-Christophe Fillion-Robin (Kitware Inc., USA)
- Andras Lasso (Queen's University, Canada)
Python is getting the most widely used platform for medical image computing. It is important to make it easy to use and extend Slicer using Python.
Jupyter notebook is an interactive shell for executing scripts and viewing execution results. During last project week in Gran Canaria, we have implemented SlicerJupyter extension, which allows creating Jupyter notebooks that use Slicer.
Improve Python IDE, debugging, and Jupyter support.
- Improve PyCharm auto-complete and debugging
- Improve SlicerJupyter: fix build/packaging errors on Linux and macOS, implement auto-completion, set up a docker image to run Slicer kernels online using binder.
-
Updated Slicer's Python interpreter to be usable from PyCharm (Slicer/Slicer#993)
- Debugging of standalone Python scripts work (runs in the debugger same way as in Slicer)
- Slicer's Python console can be used as a regular Python console (tested on linux only)
- Improved applauncher to support interactive mode: commontk/AppLauncher#100
- Auto-completion in editor (without debugging) does not work yet
-
SlicerJupyter: decided to fix build errors and auto-complete for now and leave more advanced features for later. Probably will not switch to IPython, but it is an option after Slicer switched to Python3.
PyCharm auto-complete and documentation works great during debugging