Skip to content

Conversation

kyleaoman
Copy link
Member

SWIFTGalaxies would fail with various errors in cases where a list of targets of length 0 or 1 was passed to the HaloCatalogue used to set it up. Users wouldn't normally attempt this, but it can easily come up in automated target selection scripts. These cases are now handled properly: iteration will proceed over a of length 0 or 1 in these cases.

Thanks to Will Roper for pointing this out.

@kyleaoman kyleaoman added the bug Something isn't working label Apr 3, 2025
@kyleaoman kyleaoman self-assigned this Apr 3, 2025
@kyleaoman kyleaoman merged commit a26eb00 into main Apr 3, 2025
8 checks passed
@kyleaoman kyleaoman deleted the zero_targets branch June 8, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant