We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d8ede3 commit 98a23e0Copy full SHA for 98a23e0
1 file changed
scripts/clean_notebooks.sh
@@ -3,7 +3,7 @@
3
# Clean your notebooks!
4
5
# Clear all the output from all cells
6
-jupyter-nbconvert --clear-output $@
+jupyter-nbconvert --clear-output "$@"
7
8
# Run the whole notebook in order from start to end
9
## We don't run with --ClearMetadataPreprocessor.enabled=True
@@ -13,12 +13,12 @@ jupyter-nbconvert \
13
--allow-errors \
14
--to notebook \
15
--inplace \
16
- $@
+ "$@"
17
18
# Strip superfluous metadata
19
## NB: may need more extra-keys, these are just the current offenders
20
nbstripout \
21
--keep-output \
22
--keep-count \
23
--extra-keys='cell.metadata.editable cell.metadata.slideshow' \
24
0 commit comments