Skip to content
Snippets Groups Projects
Commit bace091c authored by Steve Schmerler's avatar Steve Schmerler
Browse files

Improve py -> ipynb conversion

parent dc659b85
No related branches found
No related tags found
1 merge request!2Update GP slides and notebooks
#!/bin/sh
# Remove plots etc, but keep random cell IDs. We need this b/c we use jupytext
# --update below.
nbstripout --keep-id *.ipynb
for fn in 0*dim.py; do
# --update keeps call IDs -> smaller diffs
jupytext --to ipynb --update $fn
done
......@@ -30,4 +30,10 @@ jupyter
# or Jupyter notebook is also fine
##notebook
# ----------------------------------------------------------------------------
# dev
# ----------------------------------------------------------------------------
nbstripout
# vim:syn=sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment