Last active
November 3, 2016 14:04
-
-
Save pfernique/b4d9222c60ecb67d011425c800980723 to your computer and use it in GitHub Desktop.
JSS autowig examples
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
echo OFF | |
echo "AutoWIG Examples" | |
echo "================" | |
echo "" | |
echo "This script will run the four examples presented in the" | |
echo "accompanying paper. Corresponding Jupyter notebooks can" | |
echo "also be run individually, echo using, the following" | |
echo "commands," | |
echo "" | |
echo ON | |
jupyter nbconvert --to notebook --execute basic.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
jupyter nbconvert --to notebook --execute subset.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
jupyter nbconvert --to notebook --execute template.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
jupyter nbconvert --to notebook --execute dependent.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
echo OFF | |
echo "In order to visualize the Jupyter notebooks execute the " | |
echo "folowing command" | |
echo "" | |
echo "jupyter notebook index.ipynb" |
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
set +x | |
set +e | |
echo "AutoWIG Examples" | |
echo "================" | |
echo "" | |
echo "This script will run the four examples presented in the" | |
echo "accompanying paper. Corresponding Jupyter notebooks can" | |
echo "also be run individually, echo using, the following" | |
echo "commands," | |
echo "" | |
set -x | |
# git clone http://github.com/StatisKit/AutoWIG.git --depth=1 | |
# mv AutoWIG/doc/examples/basic basic | |
# rm -rf AutoWIG | |
# jupyter nbconvert --to notebook --execute basic.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
# git clone http://github.com/StatisKit/PyClangLite.git --depth=1 | |
# jupyter nbconvert --to notebook --execute subset.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
# rm -rf PySTL | |
# git clone http://github.com/StatisKit/PySTL.git --depth=1 | |
# jupyter nbconvert --to notebook --execute template.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
git clone http://github.com/pfernique/StructureAnalysis.git | |
cd StructureAnalysis | |
git checkout -b remove_tool origin/remove_tool | |
cd .. | |
jupyter nbconvert --to notebook --execute dependent.ipynb --allow-errors --inplace --ExecutePreprocessor.timeout=3600 --NotebookApp.kernel_spec_manager_class='environment_kernels.EnvironmentKernelSpecManager' | |
set -e | |
set +x | |
echo "In order to visualize the Jupyter notebooks execute the " | |
echo "folowing command" | |
echo "" | |
echo "jupyter notebook index.ipynb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment