HDU.write_keys() appends new cards instead of replacing existing string cards
Closed this issue · 0 comments
CraigLoomis commented
PyFITSObject_write_string_key
calls fits_write_key_longstr
instead of fits_update_key_longstr
, so existing string cards are mishandled: a new card with the same name is appended to the end of the header. Other types are fine.