vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
176 stars 17 forks source link

Recognizing language of a kernel with changed kernel name #259

Closed BoPeng closed 5 years ago

BoPeng commented 5 years ago

Split from #258

We current recognize language used by a kernel using kernel name. However, kernel names can be intentionally changed by commands such aspython -m ipykernel install --name (or modify spec file) and in which case SoS will fail to recognize the language used by the kernel. It therefore makes sense to by default use the language field in the kernel spec to infer language name.