chembl / chembl_webresource_client

Official Python client for accessing ChEMBL API
https://www.ebi.ac.uk/chembl/api/data/docs
Other
377 stars 95 forks source link

Old chembl_webresource_client.sqlite incompatible with new version #6

Closed samoturk closed 8 years ago

samoturk commented 9 years ago

It seems that old chembl_webresource_client.sqlite can be incompatible with new version. I updated chembl_webresource_client from 07. to current (0.8.4) and experienced some weird behaviour. When I deleted the sqlite file everything started working normally.
Maybe it would be useful if there would be a warning notifying user that old sqlite db might be incompatible?

mnowotka commented 9 years ago

Hi @samoturk ! Yes, definitely, thanks for reporting this. We are currently on holidays (and hence such a long response time) but this will be fixed soon.

mnowotka commented 8 years ago

This is now fixed. New versions of the client by default write cache to the hidden file in the home directory: ~/.chembl_wsclient.sqlite so the current directory is not polluted anymore and new version uses different file.