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

Modularize Python API wrapper functions #97

Open
3 tasks
bmeluch opened this issue Nov 20, 2024 · 0 comments
Open
3 tasks

Modularize Python API wrapper functions #97

bmeluch opened this issue Nov 20, 2024 · 0 comments

Comments

@bmeluch
Copy link
Contributor

bmeluch commented Nov 20, 2024

Currently, the taxonomy and NOM notebooks use functions for interacting with the NMDC API.
The functions exist in https://github.com/microbiomedata/nmdc_notebooks/blob/main/NOM_visualizations/python/nmdc_api.py and https://github.com/microbiomedata/nmdc_notebooks/blob/main/taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb, it would be better if they were collected into a module accessible by all Python notebooks in this repo.

Completion criteria:

  • A Python module exists in this repo including the API functions we have already been using
  • The existing notebooks use functions from the module
  • The module works with our requirements.txt (someone newly cloning the repo can get set up easily)
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