Notebooks
Testing the gammapy scripts strip
and black
to remove the output of the notebooks and format them.
This way, one should be able to run diff on them and to actually use git versionning.
There is also the functions run
and test
for the notebooks.
Examples
——–
$ gammapy jupyter strip
$ gammapy jupyter --src mynotebooks.ipynb run
$ gammapy jupyter --src myfolder/tutorials test
$ gammapy jupyter black
Edited by Vuillaume