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

database disk image is malformed #1279

Open
gcolmenarejo opened this issue Feb 4, 2021 · 1 comment
Open

database disk image is malformed #1279

gcolmenarejo opened this issue Feb 4, 2021 · 1 comment

Comments

@gcolmenarejo
Copy link

Hi

I'm trying to get a molecule from its name by using the python chembl web resources client:

from chembl_webresource_client.new_client import new_client as nc
...
nc.molecule.filter(pref_name = nams[i])

I get and error message that says:

DatabaseError: database disk image is malformed

Is there any issue with the services in Chembl? Thanks

@wolfwarrior02
Copy link

Hi, i found a solution for this error, is a cache problem, you can reset your cache for the chembl API or you can simply do:
Settings.Instance().CACHING=False

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