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

29 add and update functions for chemical domain endpoints #30

Merged

Conversation

rachmaninoffpk
Copy link
Collaborator

This closes #29 .

Paul Kruse added 14 commits September 16, 2024 14:54
…list_contain()`, `get_chemicals_in_list_contain_batch()`,

`get_chemicals_in_list_exact()`,
`get_chemicals_in_list_exact_batch()`,
`get_chemicals_in_list_start()`, `get_chemicals_in_list_start_batch()`.
…_in_list_exact_batch()`, `get_chemicals_in_list_contain_batch()`, and updated from GET to POST `get_chemical_synonym_batch()`.
…)`, `get_chemicals_in_list_exact()`, `get_chemicals_in_list_contain()`. Added parameter `gsid` to function `get_chemical_image()` and adjusted function and documentation.
Copy link
Collaborator

@brown-jason brown-jason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Testing the code from the vignette, chemicals_in_ccl4_exact <- get_chemicals_in_list_exact(list_name = 'CCL4', word = 'Bisphenol A') - Returns an empty list. Should the example return a populated list?
  2. chemical_image_by_smiles returns a large array. It would be nice to show how to take this array and either save or visualize an image.

…ples and exposition for visualizing chemical image files.
@rachmaninoffpk
Copy link
Collaborator Author

  1. Testing the code from the vignette, chemicals_in_ccl4_exact <- get_chemicals_in_list_exact(list_name = 'CCL4', word = 'Bisphenol A') - Returns an empty list. Should the example return a populated list?
  2. chemical_image_by_smiles returns a large array. It would be nice to show how to take this array and either save or visualize an image.

I just adjusted the get_chemicals_in_list_exact() example to output a populated list and added some example code for displaying an image from the large array returned by chemical_image_by_smiles().

@rachmaninoffpk rachmaninoffpk merged commit 96d412a into dev Sep 24, 2024
1 check passed
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.

Add and update functions for Chemical domain endpoints
2 participants