diff --git a/lib/tests/download_data.py b/lib/tests/download_data.py index b1623b6..957a5c2 100755 --- a/lib/tests/download_data.py +++ b/lib/tests/download_data.py @@ -54,6 +54,10 @@ def main(): chdir(pjoin(LIBDIR, 'tests')) if not isfile(test_data): + # we have been providing the same test data for the last couple of releases + # so no need to spend time uploading test data with each release for the forseeable future + # rather download from v2.0 + __version__=2.0 check_call(['wget', f'https://github.com/pnlbwh/Harmonization-Python/releases/download/v{__version__}/{test_data}']) check_call(' '.join(['tar', '-xzvf', f'{test_data}']), shell=True) diff --git a/lib/tests/pipeline_test.sh b/lib/tests/pipeline_test.sh index 8449182..d165783 100755 --- a/lib/tests/pipeline_test.sh +++ b/lib/tests/pipeline_test.sh @@ -39,6 +39,10 @@ __version__=`echo $v | xargs` test_data=connectom_prisma # change this value if test data name is changed if [ ! -f ${test_data}.zip ] then + # we have been providing the same test data for the last couple of releases + # so no need to spend time uploading test data with each release for the forseeable future + # rather download from v2.0 + __version__=2.0 wget https://github.com/pnlbwh/dMRIharmonization/releases/download/v${__version__}/${test_data}.zip fi