Skip to content

Commit

Permalink
chore(install-dev.sh): download unit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
chanshing committed Nov 16, 2023
1 parent fec7c89 commit 9aec80b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ pip install -e .[dev,docs] # install in edit mode

# Download tiny sample data used for unit tests
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/data/samples/ax3/tiny-sample.cwa.gz
cp tests/data/tiny-sample.cwa.gz tests/data/tiny-sample1.cwa.gz # make copies for multiprocessing unit tests
# Copies for multiprocessing unit tests
cp tests/data/tiny-sample.cwa.gz tests/data/tiny-sample1.cwa.gz
cp tests/data/tiny-sample.cwa.gz tests/data/tiny-sample2.cwa.gz
# Test data for unit tests
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/actipy/tests/data/read.pkl.gz
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/actipy/tests/data/lowpass.pkl.gz
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/actipy/tests/data/calib.pkl.gz
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/actipy/tests/data/nonwear.pkl.gz
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/actipy/tests/data/resample.pkl.gz

0 comments on commit 9aec80b

Please sign in to comment.