From e66067b580b07c6326c671bbb40fc9a9604fb68f Mon Sep 17 00:00:00 2001 From: Mitchell Revalski <56605543+mrevalski@users.noreply.github.com> Date: Thu, 16 May 2024 09:38:39 -0400 Subject: [PATCH] minor bug fix (#271) In Section 1.2 of the notebook the line reading "column_data[keyword].append(value)" was indented one level further than it should be for "value" to be properly appended. --- .../DrizzlePac/align_to_catalogs/align_to_catalogs.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/DrizzlePac/align_to_catalogs/align_to_catalogs.ipynb b/notebooks/DrizzlePac/align_to_catalogs/align_to_catalogs.ipynb index d82ae298c..d81dffde4 100644 --- a/notebooks/DrizzlePac/align_to_catalogs/align_to_catalogs.ipynb +++ b/notebooks/DrizzlePac/align_to_catalogs/align_to_catalogs.ipynb @@ -266,7 +266,7 @@ " value = np.around(header1[keyword], decimals=1)\n", " else:\n", " value = header1[keyword]\n", - " column_data[keyword].append(value)\n", + " column_data[keyword].append(value)\n", " \n", " for keyword in ['RMS_RA', 'RMS_DEC']:\n", " rms_value = header1[keyword] / 1000 / DETECTOR_SCALES[header0['DETECTOR']]\n", @@ -918,7 +918,7 @@ "## About this Notebook\n", " \n", " Created: 14 Dec 2018; V. Bajaj\n", - " Updated: 13 May 2024; M. Revalski, V. Bajaj, & J. Mack\n", + " Updated: 16 May 2024; M. Revalski, V. Bajaj, & J. Mack\n", "\n", "**Source:** GitHub [spacetelescope/hst_notebooks](https://github.com/spacetelescope/hst_notebooks)\n", "\n",