-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #188 from AstarVienna/dev_master
Prepare for 0.5.6 release
- Loading branch information
Showing
101 changed files
with
101,789 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ scipy | |
astropy | ||
matplotlib | ||
jupyter | ||
jupytext | ||
|
||
docutils | ||
requests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# https://github.com/koalaman/shellcheck/wiki/SC2044 | ||
find . -iname "*.ipynb" -print0 | while IFS= read -r -d '' fnnotebook | ||
do | ||
echo "Testing ${fnnotebook}" | ||
fnpy="${fnnotebook%.ipynb}.py" | ||
|
||
# Convert .ipynb file to .py. | ||
jupytext --to py "${fnnotebook}" | ||
|
||
# Run the python script and quit on first error. | ||
python "${fnpy}" || exit 1 | ||
|
||
# Delete generated files if --delete is specified. | ||
# By default do not delete any files. | ||
if [ "x$1" = "x--delete" ] | ||
then | ||
rm "${fnpy}" | ||
fi | ||
|
||
done |
Oops, something went wrong.