-
Notifications
You must be signed in to change notification settings - Fork 4
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
"0 percent complete" forever #2
Comments
About issue #1, the resulting file was empty. Trying now with a series of 1 molecule batches works, even if the reply from the server Best, Jean-Marc |
Well the file does get written before the results are returned so an interrupted query will result in an empty file. There is a usage quota but I’m not familiar with any of its details as I was not involved with the creation of ClassyFire. I suspect it has something to do with the number of requests in time period not the size of the requests. If you hit the cap you should see an exception caused by the 429 HTTP response. Additionally it is possible to change the chunk size for SDF queries. The default chunk size is 1000 which means that sdf files with more than 1000 molecules get split up into simultaneous requests. You can set this like so |
Many thanks for this detailed answer. Best, Jean-Marc |
One more thing, it would not be too difficult to make the sdf request function just a touch more sophisticated to limit the parallel requests to whatever the quota. When I wrote this, I don't think one existed. |
Do you mean that setting chunk_size = 10000 would be OK for a file with a bit less than 10000 molecules, or does this limit of 1000 was set by ClassyFire? |
Looks like there's a 3MB limit on uploaded file size per the website |
Finally, I submitted batches of 500 structures, leaving 10 seconds of sleeping time in between and everything was OK. I only had a problem with the structure in file Many thanks again for the help. Jean-Marc |
From David Arndt, who answered my questions about ClassyFire and quotas: |
Dear James,
I am facing a new problem now.
After a successful trial of client.sdf_query() with a batch of 1000 molecules in about 1 minute,
running a second batch of 1000 molecules resulted after about 15 minutes (still running...)
in many "0 percent complete" lines (about 1 per minute).
Is this a problem from the server side?
Is there some usage quota?
Best regards,
Jean-Marc
The text was updated successfully, but these errors were encountered: