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

UniChem example from docs fails #253

Open
prismofeverything opened this issue Mar 27, 2023 · 1 comment
Open

UniChem example from docs fails #253

prismofeverything opened this issue Mar 27, 2023 · 1 comment

Comments

@prismofeverything
Copy link

Hello! Just trying to run through some examples, I get an error for the following snippet from the docs using the latest version of bioservices (1.11.2): https://buildmedia.readthedocs.org/media/pdf/bioservices/latest/bioservices.pdf

>>> from bioservices import UniChem
>>> uni = UniChem()
>>> mapping = uni.get_mapping("kegg_ligand", "chembl")

I get the following stacktrace:

AttributeError: 'UniChem' object has no attribute 'get_mapping'

Any thoughts? Seems like a simple call.... thanks!

@cokelaer
Copy link
Owner

cokelaer commented Jun 2, 2023

dear @prismofeverything,

In 2022, the UniChem API changed. Unfortunately the get_mapping service was dropped by UniChem and therefore is not available anymore. I will update the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants