mne-testing-data
Data for mne-python testing.
Acquire this data in MNE
Use mne.datasets.testing.data_path(verbose=True)
.
Update to the latest version in MNE
Use mne.datasets.testing.data_path(force_update=True, verbose=True)
.
Add or change files in the repo for use with MNE
-
Ensure your only option is to add files here. Alternatives would be e.g.:
- See if you can make use of existing files
- Synthesize the necessary testing files using e.g. RawArray and NumPy directly
-
If new files are needed, make a PR to this repo to add your files.
.. warning:: Make files as small as possible while ensuring proper testing! This often means e.g. cropping to a very short segment of data or using a small subset of channels.
-
Update the
version.txt
of the repo in your PR to the next increment. -
Once your PR is merged, ask a maintainer to cut a new release of the testing data.
-
In MNE, update
mne/datasets/utils.py
to:-
Change the
mne-testing-data
release tag to the new version. -
Set the new hash. This can be done e.g. by force updating the repo and looking at the error message, as it gives the new true hash.
-