Skip to content

Commit a406a63

Browse files
Improve bash script
Co-authored-by: Pavel Zwerschke <[email protected]>
1 parent 66074a3 commit a406a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nb-convert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
jupyter nbconvert --TagRemovePreprocessor.enabled=True --TagRemovePreprocessor.remove_cell_tags no-convert --to script docs/examples/*.ipynb &&
5+
jupyter nbconvert --TagRemovePreprocessor.enabled=True --TagRemovePreprocessor.remove_cell_tags no-convert --to script docs/examples/*.ipynb
66
shopt -s nullglob # Prevents the loop from running if there are no .txt files
77
for file in docs/examples/*.txt;
88
do mv -- "$file" "${file%.txt}.py";

0 commit comments

Comments
 (0)