Closed dougbrn closed 4 years ago
Your change looks good, but the next line is odd:
hdulist.writeto(f"{flat_file}_nsp.fits",overwrite=True)
I would suggest just opening the file in "update" mode and skipping the writeto
here.
@sean-lockwood good idea, I've changed the example code to open the file using the "update" mode.
Fix the indexing issue explaining in #129.