Skip to content

Commit

Permalink
minor bug fix (#271)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrevalski authored May 16, 2024
1 parent 1d8e0d8 commit e66067b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e66067b

Please sign in to comment.