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

UnnormalizedMongoDb #392

Open
lukasturcani opened this issue Sep 1, 2021 · 0 comments
Open

UnnormalizedMongoDb #392

lukasturcani opened this issue Sep 1, 2021 · 0 comments

Comments

@lukasturcani
Copy link
Owner

lukasturcani commented Sep 1, 2021

Instead of having MongoDb collections which normalize the data across mulitple collections, we have a MongoDb database which stores each molecule or constructed molecule , and associated values a single MongoDB document.

class UnnormalizedMoleculeMongoDb(stk.MoleculeDatabase, stk.ValueDatabase):
    ...

the schema would look something like

{
     "a": [],
     "b": [],
     "m": [],
     "MMFF Energy": [],
     "SMILES": ""
}

This approach will mean the database takes up mor data, but I imagine processing on it will be a lot cheaper since there will be absolutely no joins!

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

No branches or pull requests

1 participant