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

Get structures from Pubchem #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tjjarvinen
Copy link
Contributor

This PR adds a function to pull structures from PubChem.
It works for isolated molecules only.
PubChemCrawler.jl is used as a backend.

using AtomsBuilder

# using trivial name
load_from_pubchem( "water" )

# using CID
load_from_pubchem( 887 )

# using SMILES
load_from_pubchem( smiles="CC(=O)C" )

# using CAS number
load_from_pubchem( "64-17-5" )

@tjjarvinen
Copy link
Contributor Author

PubChemCrawler.jl needs at least Julia v1.10, so I also changed the version limits and what versions are tested.

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.

1 participant