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

Adds separation distance to output of cone searches #54

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

havok2063
Copy link
Contributor

This PR closes #52. The cone_search query now outputs the separation distance between the input target and the search results. The new distance parameter is attached to the common SDSSModel response, and made optional since other non-cone-search endpoints use the same response.

Since this is a new return parameter not originally in the pipelines database, we also include a hack to insert metadata for this parameter into the /info/database endpoint. This way the front-end can take advantage of it automatically with no code changes.

@havok2063 havok2063 added the enhancement New feature or request label Sep 20, 2024
@havok2063 havok2063 self-assigned this Sep 20, 2024
@havok2063 havok2063 merged commit 40f71c6 into main Sep 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add separation to cone search output
1 participant