{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# The Notebook of Last Resort" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "If you are not able to get everything installed that we need for the workshop, you have the option of running this notebook on Colab.\n", "\n", "The following cell installs the libraries we need that are not already in the Colab runtime environment." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "tags": [ "hide-cell" ] }, "outputs": [], "source": [ "# If we're running on Colab, install libraries\n", "\n", "import sys\n", "IN_COLAB = 'google.colab' in sys.modules\n", "\n", "if IN_COLAB:\n", " !pip install astroquery astro-gala" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "That should be everything you need. \n", "\n", "Before you get started, you probably want to press the Save button!\n", "That will allow you to save your copy of this notebook in your Google Drive.\n", "\n", "If you don't save this notebook, any changes you make will be lost if you close the browser window or leave it idle too long.\n", "\n", "Now you can type code and run it in the following cells." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" } }, "nbformat": 4, "nbformat_minor": 2 }