Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep track of version of data #12

Closed
cthoyt opened this issue Aug 17, 2017 · 1 comment
Closed

Keep track of version of data #12

cthoyt opened this issue Aug 17, 2017 · 1 comment

Comments

@cthoyt
Copy link
Contributor

cthoyt commented Aug 17, 2017

Inside the UniProt data directory, there's a file called ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/reldate.txt that stores the release information. It would be good to download this and store it in a "meta" table in the PyUniProt database so it knows if there's been an update. This could be as simple as hashing the file and checking if the current hash is the same as the hash from the last update

@cebel
Copy link
Owner

cebel commented Aug 21, 2017

New model.Version available with pyuniprot.query().version

@cebel cebel closed this as completed Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants