From a396c0cd079463560d57b9bfb4da7320cd1dbe18 Mon Sep 17 00:00:00 2001 From: Valerie Becker Date: Wed, 18 Sep 2024 15:41:14 -0700 Subject: [PATCH] removing errors from Nightlog --- notebooks_tsqr/NightLog.ipynb | 6 +-- notebooks_tsqr/consdb/assorted_plots.ipynb | 45 ++++++++-------------- 2 files changed, 16 insertions(+), 35 deletions(-) diff --git a/notebooks_tsqr/NightLog.ipynb b/notebooks_tsqr/NightLog.ipynb index 298c54f..336da77 100644 --- a/notebooks_tsqr/NightLog.ipynb +++ b/notebooks_tsqr/NightLog.ipynb @@ -416,11 +416,7 @@ "id": "21", "metadata": {}, "outputs": [], - "source": [ - "print(os.getcwd())\n", - "print(os.listdir())\n", - "%run consdb/assorted_plots.ipynb" - ] + "source": [] }, { "cell_type": "code", diff --git a/notebooks_tsqr/consdb/assorted_plots.ipynb b/notebooks_tsqr/consdb/assorted_plots.ipynb index a7bfca1..525ae90 100644 --- a/notebooks_tsqr/consdb/assorted_plots.ipynb +++ b/notebooks_tsqr/consdb/assorted_plots.ipynb @@ -22,22 +22,7 @@ "import os\n", "import pandas as pd\n", "import matplotlib.pylab as plt\n", - "from IPython.display import display, Markdown, display_markdown" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "2", - "metadata": {}, - "outputs": [], - "source": [ - "# When running under Times Square, don't install pkg from github.\n", - "print(os.environ.get('EXTERNAL_INSTANCE_URL'))\n", - "\n", - "if not os.environ.get('EXTERNAL_INSTANCE_URL'):\n", - " print('Installing \"lsst.sitcom.summit.utils\" from github using \"main\" branch....')\n", - " %pip install --upgrade git+https://github.com/lsst-sitcom/summit_utils.git@main>/dev/null\n", + "from IPython.display import display, Markdown, display_markdown\n", "\n", "from lsst.summit.utils import ConsDbClient" ] @@ -45,7 +30,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -60,7 +45,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -71,7 +56,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -98,7 +83,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -123,7 +108,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -135,7 +120,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8", + "id": "7", "metadata": {}, "outputs": [], "source": [ @@ -149,7 +134,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9", + "id": "8", "metadata": {}, "outputs": [], "source": [ @@ -175,7 +160,7 @@ { "cell_type": "code", "execution_count": null, - "id": "10", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -186,7 +171,7 @@ { "cell_type": "code", "execution_count": null, - "id": "11", + "id": "10", "metadata": {}, "outputs": [], "source": [ @@ -199,7 +184,7 @@ { "cell_type": "code", "execution_count": null, - "id": "12", + "id": "11", "metadata": {}, "outputs": [], "source": [] @@ -207,7 +192,7 @@ { "cell_type": "code", "execution_count": null, - "id": "13", + "id": "12", "metadata": {}, "outputs": [], "source": [] @@ -215,7 +200,7 @@ { "cell_type": "code", "execution_count": null, - "id": "14", + "id": "13", "metadata": {}, "outputs": [], "source": [] @@ -223,7 +208,7 @@ { "cell_type": "code", "execution_count": null, - "id": "15", + "id": "14", "metadata": {}, "outputs": [], "source": [] @@ -231,7 +216,7 @@ { "cell_type": "code", "execution_count": null, - "id": "16", + "id": "15", "metadata": {}, "outputs": [], "source": []