chembl / chembl_webresource_client

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

Check default format for svg+xml #73

Closed waltonseymour closed 4 years ago

waltonseymour commented 4 years ago

This will resolve #71 and allow for parsing xml data as before.

For example the command:

new_client.target.only(['organism'])[0]['organism']

currently throws an exception due to the response being a xml string, rather than a dictionary.

eloyfelix commented 4 years ago

You're right, missed the 'not' when fixing it. Thanks for the contribution!