You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fits Header does not preserve subclasses in copying and slicing. #7379
I have a subclass of io.fits.Header and noticed that the copying and slicing does not by default return instances of my subclasses but rather of Header. This is because the class is hardcoded in those methods. In principle, this is incorrect, and correcting it is relatively straightforward [1], except that this breaks the CompImageHeader subclass since that cannot deal properly with its own class initializer being used. Which puts it slightly out of reach of a quick fix, and makes it more part of a cleanup of CompImageHeader that the comments for that class already refer to as being needed...
Activity