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 support for multiple uses querying at same time (experimental..) #26

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

pedrobcst
Copy link
Owner

@pedrobcst pedrobcst commented Apr 15, 2022

This PR does the following:

  1. Change the querying to use the folder name in the dataset-name_chemical-space_provider and the final folder as dataset-name_cifs
  2. Allows tcif.py to accept a specific folder name
  3. Changes the MongoIndex 'id' (which is the one of a given provider) to be unique
  4. If the collection does not exist, create it and do the above
  5. Changes Xray, localdb, multiquery to accept 'name' as paramater (used when creating dump folders of CIFs)

WARNING: For old databases, it might be needed to manually set the 'id' field of mongo as unique (this should be possible right?)

(Possibly) Closes #22

@pedrobcst pedrobcst merged commit 13b1df5 into master Apr 15, 2022
@pedrobcst pedrobcst deleted the multiuser_query branch April 15, 2022 10:36
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.

How to handle multi user for the same installation? (Simultaneous query)
1 participant