Test data for the ethology Python package.

sfmig cba7475f8e Update readme 1 éve
test_data 1ef2c39b7b Remove zip 1 éve
LICENSE 8623c217ba Initial commit 1 éve
README.md cba7475f8e Update readme 1 éve
files-registry.txt 1ef2c39b7b Remove zip 1 éve
get_sha256_hashes.py 5c1125baac Add hash generation script and first file registry 1 éve

README.md

ethology-test-data

Test data for the ethology Python package.

General guidelines

When adding test data to test a specific module, please include under a subdirectory with the following structure:

test_data/test_<module-name>/

This will allow us to make efficient use of the pooch library and the pytest fixtures.

Adding or editing data

Remember to update the file registry at files-registry.txt after adding or editing the data!

To do so, run the following from the root of the GIN repository:

0- Ensure all the content is downloaded locally:

gin download --content

1- After editing or adding any files, run the Python script to generate the file-registry.txt file:

python get_sha256_hashes.py

2- Commit the changes to the GIN repository

gin commit -m "Update file and file-registry.txt" <path-to-edited-or-updated-file> file-registry.txt
gin upload <path-to-edited-or-updated-file> file-registry.txt

For further details, please see the GIN HowTo guide.