8b15284·Author: Arthur Eigenbrot·Closed by: Arthur Eigenbrot·2023-06-27
Description
This PR mostly fixes a breaking change in *-common 3.0.0 where fits_data_read_hdu (or read(decoder=fits_hdu_decoder, ...)) no longer returns a tuple of (Path, HDU). Those methods now simply return the HDU object.
Cases where fits_data_read_hdu were used only to grab the data from the HDU were replaced with read(decoder=fits_array_decoder, ...) to make the code simpler.
Finally, a small bug was fixed in the intermediate frame mixin; now writing arrays will log exactly the arrays just written and ignore an files with the same set of tags that already existed.
This PR mostly fixes a breaking change in
*-common
3.0.0 wherefits_data_read_hdu
(orread(decoder=fits_hdu_decoder, ...)
) no longer returns a tuple of(Path, HDU)
. Those methods now simply return the HDU object.Cases where
fits_data_read_hdu
were used only to grab the data from the HDU were replaced withread(decoder=fits_array_decoder, ...)
to make the code simpler.Finally, a small bug was fixed in the intermediate frame mixin; now writing arrays will log exactly the arrays just written and ignore an files with the same set of tags that already existed.