Comments (5)
sorry for the delayed reply. There was a networking issue in the EBI datacenter that affected our webservices. The issue is now solved with the help of the EBI networking team. The webservices and the webresource client should be working normally now.
from chembl_webresource_client.
From what I've observed, this appears to be due to intermittent downtime of https://www.ebi.ac.uk/chembl/api/data/molecule.json, in which case an error page ("500 internal server") is returned instead of the desired json. When the page is accessible, no errors occur.
I think it would be valuable if the chembl client was able to automatically re-try a given request if it returns a 500 internal server error rather than simply failing, since the server seems to come back up within several seconds of the initial server error.
from chembl_webresource_client.
I am experiencing the same issue since last week when using any client functionality.
The main error message is:
chembl_webresource_client.http_errors.HttpApplicationError: Error for url https://www.ebi.ac.uk/chembl/api/data/molecule.json, server response: <!doctype html>
Followed by a very long HTML error message.
I am assuming this error is due to an update in the API for which the client has not caught up yet. Is there an estimated timeframe for solving this issue?
from chembl_webresource_client.
Something seems to be wrong with the json response. The following snippet reproduces the same error reported:
from chembl_webresource_client.new_client import new_client
molecule = new_client.molecule
mols = molecule.filter(molecule_synonyms__molecule_synonym__iexact='viagra').only('molecule_chembl_id')
mols
I did a workaround by changing the url_query.py
module, substituting line 40 from self.frmt = 'json'
to self.frmt='xml'
. After that, I could get the results without a problem by running this instead:
from chembl_webresource_client.new_client import new_client
molecule = new_client.molecule
mols = molecule.filter(molecule_synonyms__molecule_synonym__iexact='viagra').only('molecule_chembl_id')
mols.set_format(frmt='json')
from chembl_webresource_client.
Hi, when I queried the activity data related to plasma stability in chembl, I encountered the same problem. This is my error code:
HttpApplicationError: Error for url https://www.ebi.ac.uk/chembl/api/data/activity.json, server response: <!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
Do you have any solutions to this. What bothers me is the lack of such data in other relevant places. Chembl is the only database where I can find relevant content, but it seems unstable recently. Thank you.
This is the code I used to query:
act_list = []
for assay_id in tqdm(Plasma_assayID_list[14:], 'Analying data for Plasma'):
activities = activity.filter(
assay_chembl_id=assay_id,
# relation="=", assay_type="B"
).only(
"assay_id",
"assay_description",
"molecule_chembl_id",
"canonical_smiles",
"document_chembl_id",
"standard_relation",
"standard_value",
"standard_units",
"standard_type",
"target_organism",
"target_pref_name"
)
for act in activities:
act_list.append(act)
from chembl_webresource_client.
Related Issues (20)
- .filter for different names in "document_journal" column HOT 1
- Query hangs after reaching specific entry HOT 1
- Error for url https://www.ebi.ac.uk/chembl/api/data/activity.json, server response: <!doctype html> HOT 6
- Mechanism results do not match what is on the website HOT 3
- Isomeric SMILES string
- Problem with unichem.structure HOT 4
- Querying by inchi
- new_client is failing to import from chembl_webresource_client HOT 1
- Assay offsets and limit HOT 2
- How do I retrieve the Unichem Cross references as a dictionary/list for a CHEMBL compound?
- Fail to import new_client due to API problem HOT 5
- Fixed
- Space between words of the query
- HttpApplicationError HOT 8
- confidence score
- Error for url
- ChEMBL webresourse client issue
- status 500 with chembl_webresource_client.new_client
- Problem of parallelized big data mining via batch chunks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chembl_webresource_client.