Old version
bhanco opened this issue · comments
Is there any way to replicate results from an older query of mygene? After several months, updates have caused some small changes to my GO results.
Many thanks
@bhanco mygene.py
client (and biothings_client.py
) includes a feature to set local caching for API requests. You can find more info here:
or the same from biothings_client.py
(mygene.py
is now a wrapper around biothings_client.py
):
https://biothings-clientpy.readthedocs.io/en/latest/doc/API.html?highlight=caching+cache#mygeneinfo
Basically, if you call set_caching
method with a local cache file before making any queries, all query results should be cached in the local file and re-run these queries should give you the consistent results.