From 91b7c11603109e2054bbd51a539baa38be7ca622 Mon Sep 17 00:00:00 2001 From: Andy Casey Date: Fri, 2 Feb 2024 11:58:31 +1100 Subject: [PATCH] fix issues for 0.2.4 pointed out by Sean Morrison --- notebooks/20231011_sdss5_targeting.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notebooks/20231011_sdss5_targeting.ipynb b/notebooks/20231011_sdss5_targeting.ipynb index c273049..ace415a 100644 --- a/notebooks/20231011_sdss5_targeting.ipynb +++ b/notebooks/20231011_sdss5_targeting.ipynb @@ -15,9 +15,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You will need the `sdss_semaphore` package (version ``0.2.2``) to easily interpret the SDSS flags. You can install it with:\n", + "You will need the `sdss_semaphore` package (version ``0.2.4``) to easily interpret the SDSS flags. You can install it with:\n", "\n", - "```pip install sdss-semaphore==0.2.2```\n" + "```pip install sdss-semaphore==0.2.4```\n" ] }, { @@ -536,7 +536,7 @@ "\n", "- `TargetingFlags.all_mappers`: a tuple of all unique mapper names;\n", "- `TargetingFlags.all_programs`: a tuple of all unique program names;\n", - "- `TargetingFlags.all_names`: a tuple of all unique carton names;\n", + "- `TargetingFlags.all_carton_names`: a tuple of all unique carton names;\n", "- `TargetingFlags.all_alt_names`: a tuple of all unique alternative names;\n", "- `TargetingFlags.all_alt_programs`: a tuple of all unique alternative program names;\n", "\n", @@ -1037,7 +1037,7 @@ " print(f\"\\t{program}\")\n", "\n", "print(\"Cartons names\")\n", - "for name in flags.all_names:\n", + "for name in flags.all_carton_names:\n", " print(f\"\\t{name}\")\n", "\n", "print(\"Alternative cartons names\")\n",