-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filtering masked tables resets column fill_value #4707
Comments
Maybe less confusing to just address this in #4708 since they are related? |
Fine to treat this as a single ticket if both #4707 and #4708 are fixed simultaneously. But they are separate issues — resetting the fill value when filtering could be problematic even if no I/O is ever performed with the table. It may be possible to usefully fix this ticket by itself even if the FITS I/O issue #4708 requires more work. |
Ok. Re-opening. Thanks for the clarifications. |
Seems to be fixed, maybe it was a Numpy issue with subclasses ? |
Hi humans 👋 - this issue was labeled as Close? approximately 5 months ago. So..... any news? 🗞️ If you think this issue should not be closed, a maintainer should remove the Close? label - otherwise, I'm just gonna have to close this issue in a month. Your time starts now! Tick tock 🕙 If you believe I commented on this issue incorrectly, please report this here |
Ok, closing as I still cannot reproduce. |
I confirm that this problem still exists with astropy/2.0.2 + numpy 1.11.1 but it is fixed with astropy/2.0.2 + numpy/1.13.1 . OK with me to leave it closed. |
filtering a masked table resets the fill value to 1:
This is dangerous because it reset the fill value to a valid value in the table, which breaks how masked values are tracked in FITS-format tables (I'll submit a separate issue about that). But filtering shouldn't reset the fill value in the first place.
The end result is that after filtering my masked table, round-tripping it to a FITS file gives me back a different table, with one of my previously unmasked values now masked.
The text was updated successfully, but these errors were encountered: