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 SourceGrouper with one source #1617

Merged
merged 4 commits into from Sep 5, 2023

Conversation

larrybradley
Copy link
Member

This PR fixes a bug where if SourceGrouper had only one (x, y) input it would fail. Now it returns a single group.

Also, a helpful error message is now raised if x and y are empty.

Thanks to @bmorris3 for leading me down the path to this bug.

@larrybradley larrybradley added this to the 1.10.0 milestone Sep 5, 2023
@larrybradley larrybradley merged commit 55b2db0 into astropy:main Sep 5, 2023
20 checks passed
@larrybradley larrybradley deleted the grouper-1src branch September 5, 2023 23:01
@bmorris3
Copy link
Contributor

bmorris3 commented Sep 6, 2023

Thanks! 🤞🏻 for spacetelescope/romancal#794.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants