diff --git a/.gitignore b/.gitignore index 1bf8d24..173235e 100644 --- a/.gitignore +++ b/.gitignore @@ -105,6 +105,5 @@ ENV/ # other *.zarr -*tar.gz -responsefun/_version.py \ No newline at end of file +responsefun/_version.py diff --git a/responsefun/conftest.py b/responsefun/conftest.py index 0950c35..d26c02b 100644 --- a/responsefun/conftest.py +++ b/responsefun/conftest.py @@ -24,4 +24,4 @@ def pytest_addoption(parser): def pytest_collection(session): if not session.config.option.skip_update: - update_testdata(session) \ No newline at end of file + update_testdata(session) diff --git a/responsefun/testdata/0_download_testdata.sh b/responsefun/testdata/0_download_testdata.sh index e6cd3d2..0ec52cc 100755 --- a/responsefun/testdata/0_download_testdata.sh +++ b/responsefun/testdata/0_download_testdata.sh @@ -2,7 +2,7 @@ # taken from respondo -SOURCE="https://wwwagdreuw.iwr.uni-heidelberg.de/responsefun_test_data/0.1.0" +# SOURCE="https://wwwagdreuw.iwr.uni-heidelberg.de/responsefun_test_data/0.1.0" DATAFILES=( data_0.1.0.tar.gz ) @@ -14,17 +14,19 @@ THISDIR=$(dirname "${BASH_SOURCE[0]}") cd "$THISDIR" echo "Updating testdata ... please wait." -download() { - if which wget &> /dev/null; then - echo $@ - wget -w 1 -qN --show-progress --no-check-certificate $@ - else - echo "wget not installed" >&2 - exit 1 - fi -} - -download $(for file in ${DATAFILES[@]}; do echo $SOURCE/$file; done) +# ToDo: temporary fix store testdata in repository. +# As soon as new server is online move testdata there +# download() { +# if which wget &> /dev/null; then +# echo $@ +# wget -w 1 -qN --show-progress --no-check-certificate $@ +# else +# echo "wget not installed" >&2 +# exit 1 +# fi +# } + +# download $(for file in ${DATAFILES[@]}; do echo $SOURCE/$file; done) if which sha256sum &> /dev/null; then sha256sum --ignore-missing -c SHA256SUMS || exit 1 diff --git a/responsefun/testdata/data_0.1.0.tar.gz b/responsefun/testdata/data_0.1.0.tar.gz new file mode 100644 index 0000000..b7bf282 Binary files /dev/null and b/responsefun/testdata/data_0.1.0.tar.gz differ