pr-omethe-us / PyKED

Python interface to the ChemKED database format
https://pr-omethe-us.github.io/PyKED/
BSD 3-Clause "New" or "Revised" License
15 stars 15 forks source link

Is there a way to cache DOI lookups in the test suite #94

Open Kypore1 opened 6 years ago

Kypore1 commented 6 years ago

As is it takes a long time to validate all the files because it has to download them all each time. Could we look into adding something to cache the files?

kyleniemeyer commented 6 years ago

We did start to look at why the test suite is so slow in #86

bryanwweber commented 6 years ago

Indeed, and @Kypore1 was running the code from before the commits that fixed #86. Let's see if the speed improves after updating to master. I still think this might be a good idea though... we can download JSON files of the message response or something in a directory that can be "cleaned" with a separate command

kyleniemeyer commented 6 years ago

Sure, maybe we can set up a list of all the queries for the tests and do it all in one?