-
Notifications
You must be signed in to change notification settings - Fork 11
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
provide links/badges in README and notebooks to run the examples on ARM's jupyterhub? #268
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
slayoo
changed the title
provide links in README and notebooks to run the examples on ARM's jupyterhub?
provide links/badges in README and notebooks to run the examples on ARM's jupyterhub?
Aug 7, 2023
Stale issue message |
slayoo
added
help wanted
Extra attention is needed
good first issue
Good for newcomers
enhancement
New feature or request
labels
Dec 2, 2023
@jcurtis2 @zdaq12 and an example notebook header cell: import sys, os
if 'google.colab' in sys.modules:
!pip --quiet install open-atmos-jupyter-utils
from open_atmos_jupyter_utils import pip_install_on_colab
pip_install_on_colab('PyPartMC')
elif '.arm.gov' in os.environ['JUPYTER_IMAGE']:
!pip --quiet install PyPartMC
_pip_paths = !pip show PyPartMC | fgrep Location | cut -f2 -d' '
if _pip_paths[0] not in sys.path: sys.path.append(_pip_paths[0]) |
for the record: ARM-Development/comble-mip#36 |
The |
first try at putting it together within a notebook: #331 |
done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
No description provided.
The text was updated successfully, but these errors were encountered: