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

Added a default setting of batch_size parameter in find() function #6

Merged
merged 1 commit into from
Nov 15, 2020

Conversation

fujirock
Copy link
Contributor

When I tried to register 140K molecules in MongoDB and generate fingerprints of them, I received the following error.
`/usr/local/lib/python3.6/dist-packages/pymongo/helpers.py in _check_command_response(response, max_wire_version, msg, allowable_errors, parse_write_concern_error)
162 elif code == 43:
163 raise CursorNotFound(errmsg, code, response,
--> 164 max_wire_version)
165
166 msg = msg or "%s"

CursorNotFound: ......`

Because this error occurs due to timeout, I added a batch_size parameter in find() function.

@chriswzou chriswzou merged commit ac91bd3 into rdkit:master Nov 15, 2020
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

Successfully merging this pull request may close these issues.

2 participants