From 1ac81a3d7fff83f9156b62e83ff3ec4e53806e47 Mon Sep 17 00:00:00 2001 From: holgern Date: Wed, 29 Jan 2020 22:40:28 +0100 Subject: [PATCH] Fix script --- .binder/postBuild | 1 + 1 file changed, 1 insertion(+) diff --git a/.binder/postBuild b/.binder/postBuild index c452faebf..1f8279e51 100755 --- a/.binder/postBuild +++ b/.binder/postBuild @@ -22,6 +22,7 @@ find . -delete # Generate notebooks and remove other files from examples folder GENERATED_NOTEBOOKS_DIR=.generated-notebooks cp -r $TMP_CONTENT_DIR/examples $GENERATED_NOTEBOOKS_DIR +rm $GENERATED_NOTEBOOKS_DIR/utils.py find $GENERATED_NOTEBOOKS_DIR -name '*.py' -exec sphx_glr_python_to_jupyter.py '{}' + NON_NOTEBOOKS=$(find $GENERATED_NOTEBOOKS_DIR -type f | grep -v '\.ipynb')