Closed JatGreer closed 1 year ago
Thanks @JatGreer
Moving the package to src got me thinking about the project structure/name again. I have some other ideas that I'll put on another PR after we merge this one.
~tests/test_empiar_cache.py
- this has some notes/exploration which seems valuable, but don't think it is testing anything (yet, maybe) since we're not doing caching. Okay to repurpose this into a test for the download functionality?~ (Sorry, please ignore - I missed the part of your message noting this was incomplete)
Will merge as is.
Whilst doing these tests I noticed that they will fail if I try to access EMPIAR entry 10340 instead of 10943 (used in other tests). Perhaps tests/test_empiar_cache.py would be a good candidate to extend to investigate why empiarreader breaks on entry 10340?
Ah interesting, I'll open an issue for investigating this
Addresses issue #16
Allows empiarreader to be installed via poetry according to
README.md
instructions. During bug-fixing ofpyproject.toml
andpoetry.lock
interactions (pytest >6.2.5 required), I reorganised repo structure. Feel free to change it back if preferred!I add the file
tests/test_empiar_cache.py
in which I have a couple of functions I used to try out the functionality of empiarreader. In these I also started to look at whether setting intake cache parameters to non-defaults would allow enable persistent caching of downloaded files. Testing this is incomplete.Whilst doing these tests I noticed that they will fail if I try to access EMPIAR entry 10340 instead of 10943 (used in other tests). Perhaps
tests/test_empiar_cache.py
would be a good candidate to extend to investigate why empiarreader breaks on entry 10340?