jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
55 stars 52 forks source link

TEST: Remove external file downloads in tests #936

Open asoplata opened 3 days ago

asoplata commented 3 days ago

Currently, there are several tests that retrieve various files from different external locations on GitHub:

These files should all be downloaded and moved into the test assets directory https://github.com/jonescompneurolab/hnn-core/tree/master/hnn_core/tests/assets since they are small, and it is unnecessary to download them every time tests are run (which is frequent!)

jasmainak commented 2 days ago

agreed! If it's a small file, definitely add it to a local folder. Remember that git tracks everything, so if you expect the file to change often, it's not a good idea to add to the local repo