Skip to content
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

Fix return value of NullDataVolumeReducer #2340

Merged
merged 3 commits into from Jun 1, 2023
Merged

Fix return value of NullDataVolumeReducer #2340

merged 3 commits into from Jun 1, 2023

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented May 31, 2023

The data volume reduction classes are supposed to return a boolean mask for each pixel.

The NullDataVolumeReducer returned a mask for each (pixel, sample), comparing unnecessarily to 0.

Now, just a all-True boolean mask with the correct shape is returned.

@maxnoe
Copy link
Member Author

maxnoe commented May 31, 2023

astropy 5.3 was just released and it changed the order in which units are output as VO format string (in a good way!), I adapted the test so it doesn't care about the order

@maxnoe maxnoe merged commit d2f2485 into main Jun 1, 2023
13 checks passed
@maxnoe maxnoe deleted the fix_null_dvr branch June 1, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants