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

allanwood(): return a named vector of inchikeys for isomers #42

Closed
eduardszoecs opened this issue Oct 16, 2015 · 2 comments
Closed

allanwood(): return a named vector of inchikeys for isomers #42

eduardszoecs opened this issue Oct 16, 2015 · 2 comments
Labels
enhancement New feature or enhancement
Milestone

Comments

@eduardszoecs
Copy link
Member

Currently:

> alanwood("S-Metolachlor", type = "commonname")$inchikey

# More then one link found! Returning first.
# 
# Querying s-metolachlor.html
# [1] "major component (S)-isomer:WVQBLGZPHOPPFO-LBPRGKRZSA-Nminor component (R)-isomer:WVQBLGZPHOPPFO-GFCCVEGCSA-N"

Should be

> alanwood("S-Metolachlor", type = "commonname")$inchikey

# More then one link found! Returning first.
# 
# Querying s-metolachlor.html
# [1] "major component (S)-isomer" - WVQBLGZPHOPPFO-LBPRGKRZSA-N
[2] "minor component (R)-isomer" - WVQBLGZPHOPPFO-GFCCVEGCSA-N
@eduardszoecs eduardszoecs added the enhancement New feature or enhancement label Oct 16, 2015
@eduardszoecs eduardszoecs self-assigned this Oct 16, 2015
@eduardszoecs eduardszoecs added this to the 0.4 milestone Oct 16, 2015
@eduardszoecs eduardszoecs removed their assignment Oct 16, 2015
@eduardszoecs
Copy link
Member Author

This shouldn't be hard to implement: check if there is
or 'component' and then split and name.
However, due to time constraints I won't be able to implement this before mid November.

Feel free to create a pull request - I would be happy to merge it!

eduardszoecs added a commit that referenced this issue Nov 6, 2015
eduardszoecs added a commit that referenced this issue Nov 6, 2015
@eduardszoecs
Copy link
Member Author

Fixed. Now gives


> alanwood("S-Metolachlor", type = "commonname")$inchikey
More then one link found! Returning first.

Querying s-metolachlor.html
                     s_isomer                      r_isomer 
"WVQBLGZPHOPPFO-LBPRGKRZSA-N" "WVQBLGZPHOPPFO-GFCCVEGCSA-N" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant