<commit_before>#!/bin/sh
# Run ipython notebook tests

testfail=0
curl -OL http://www.dropbox.com/s/1x4ny0c93gvu54n/toy_mstis_1k_OPS1.nc
curl -OL http://www.dropbox.com/s/qaeczkugwxkrdfy/toy_mistis_1k_OPS1.nc
#python ipynbtest.py "sliced_sequential_ensembles.ipynb" || testfail=1
cd toy_model_mstis/
date
ipynbtest.py "toy_mstis_1_setup.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_2_run.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_3_analysis.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_4_repex_analysis.ipynb" || testfail=1
#date
#ipynbtest.py "toy_mstis_5_srtis.ipynb" || testfail=1
cd ../toy_model_mistis/
date
ipynbtest.py "toy_mistis_1_setup_run.ipynb" || testfail=1
date
# skip toy_mistis_2_flux: not needed
ipynbtest.py "toy_mistis_3_analysis.ipynb" || testfail=1
date
cd ../tests/
cp ../toy_model_mstis/mstis.nc ./
ipynbtest.py --strict --show-diff "test_openmm_integration.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_snapshot.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_netcdfplus.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_cv.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_pyemma.ipynb" || testfail=1
date
cd ../misc/
cp ../toy_model_mstis/mstis.nc ./
ipynbtest.py "tutorial_storage.ipynb" || testfail=1

cd ..
rm toy_mstis_1k_OPS1.nc
rm toy_mistis_1k_OPS1.nc
if [ $testfail -eq 1 ]
then
    exit 1
fi
<commit_msg>curl -k; ls to check success<commit_after>#!/bin/sh
# Run ipython notebook tests

testfail=0
curl -OLk http://www.dropbox.com/s/1x4ny0c93gvu54n/toy_mstis_1k_OPS1.nc
curl -OLk http://www.dropbox.com/s/qaeczkugwxkrdfy/toy_mistis_1k_OPS1.nc
ls *nc
#python ipynbtest.py "sliced_sequential_ensembles.ipynb" || testfail=1
cd toy_model_mstis/
date
ipynbtest.py "toy_mstis_1_setup.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_2_run.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_3_analysis.ipynb" || testfail=1
date
ipynbtest.py "toy_mstis_4_repex_analysis.ipynb" || testfail=1
#date
#ipynbtest.py "toy_mstis_5_srtis.ipynb" || testfail=1
cd ../toy_model_mistis/
date
ipynbtest.py "toy_mistis_1_setup_run.ipynb" || testfail=1
date
# skip toy_mistis_2_flux: not needed
ipynbtest.py "toy_mistis_3_analysis.ipynb" || testfail=1
date
cd ../tests/
cp ../toy_model_mstis/mstis.nc ./
ipynbtest.py --strict --show-diff "test_openmm_integration.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_snapshot.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_netcdfplus.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_cv.ipynb" || testfail=1
date
ipynbtest.py --strict --show-diff "test_pyemma.ipynb" || testfail=1
date
cd ../misc/
cp ../toy_model_mstis/mstis.nc ./
ipynbtest.py "tutorial_storage.ipynb" || testfail=1

cd ..
rm toy_mstis_1k_OPS1.nc
rm toy_mistis_1k_OPS1.nc
if [ $testfail -eq 1 ]
then
    exit 1
fi

{'fraction_non_alphanumeric': 0.1344683808200139, 'fraction_numerical': 0.02779708130646282, 'mean_word_length': 4.91170431211499, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4000525', 'n_tokens_mistral': 1396, 'n_tokens_neox': 1339, 'n_words': 221}