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
The current documentation of fits verification states that a card like "FIX4 2" should be fixable. However it currently isn't fixable:
>>> from astropy.io import fits
>>> c = fits.Card.fromstring('FIX4 2')
>>> c.verify('fix')
WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention:
FIX4 2 [astropy.io.fits.card]
I'm not sure if that ever worked or when that regression was introduced. But should such a card be fixable?
The text was updated successfully, but these errors were encountered:
@ayush1999 Not sure what you mean and how it relates to the issue here.
But it's normal that a second c.verify('fix') doesn't print any warnings - you already verified and fixed it a few lines above.
However this issue was about how c can be fixed. It could fix it by having FIX4 as keyword and 2 as value, at least the old documentation indicated that. However as far as I can see that never worked (at least for astropy, no idea when and if it worked in pyfits) and I don't know if it should work.
The current documentation of fits verification states that a card like
"FIX4 2"
should be fixable. However it currently isn't fixable:I'm not sure if that ever worked or when that regression was introduced. But should such a card be fixable?
The text was updated successfully, but these errors were encountered: