From 8c9ee23fa99270fcbb488257041cfef83f90c8eb Mon Sep 17 00:00:00 2001 From: Steve Pothier Date: Mon, 7 Oct 2024 05:57:06 -0700 Subject: [PATCH] attempt to satisfy CI --- notebooks_tsqr/NightLog.ipynb | 7 +------ python/lsst/ts/logging_and_reporting/reports.py | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/notebooks_tsqr/NightLog.ipynb b/notebooks_tsqr/NightLog.ipynb index 488ff9d..e85957c 100644 --- a/notebooks_tsqr/NightLog.ipynb +++ b/notebooks_tsqr/NightLog.ipynb @@ -45,7 +45,6 @@ "from urllib.parse import urlencode\n", "\n", "import pandas as pd\n", - "# Only use packages available in the Rubin Science Platform\n", "import requests\n", "from matplotlib import pyplot as plt\n", "\n", @@ -294,11 +293,7 @@ "cell_type": "code", "execution_count": null, "id": "17", - "metadata": { - "jupyter": { - "outputs_hidden": true - } - }, + "metadata": {}, "outputs": [], "source": [ "# Display data from Exposure log. Display time log.\n", diff --git a/python/lsst/ts/logging_and_reporting/reports.py b/python/lsst/ts/logging_and_reporting/reports.py index d8cec60..0dd692e 100644 --- a/python/lsst/ts/logging_and_reporting/reports.py +++ b/python/lsst/ts/logging_and_reporting/reports.py @@ -152,7 +152,8 @@ def block_tickets_as_markdown( for day, url_list in tickets.items(): mdstr += f"\n- {day}" for ticket_url in url_list: - str = f'\n - [{ticket_url.replace(front,"")}]({ticket_url})' + tu_str = ticket_url.replace(front, "") + str = f"\n - [{tu_str}]({ticket_url})" mdstr += str return mdstr