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

Allow for empty path_vertices #129

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

mcoughlin
Copy link
Contributor

This PR fixes an error in case the MOC results in empty path_vertices_l (which happens in case of a MOC on the other side of the globe).

Also, the pre-commit did a number on this file.

@mcoughlin
Copy link
Contributor Author

@ManonMarchand @fxpineau

@ManonMarchand

This comment was marked as off-topic.

@mcoughlin
Copy link
Contributor Author

@ManonMarchand This issue comes up when the border is plotted: moc.border(ax=ax, wcs=ax.wcs, alpha=1, color="black") etc. in certain cases.

@ManonMarchand
Copy link
Member

ManonMarchand commented May 28, 2024

Ah got it! Sorry I was out of it. Don't know why but I thought we were in the example on borders that shows the implementation. I'll rebase and merge this, thanks.

@ManonMarchand ManonMarchand merged commit a32c9a1 into cds-astro:master May 28, 2024
14 checks passed
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.

2 participants