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

unhelpful error message in KNearNeigh #16

Open
1 of 3 tasks
sschmidt23 opened this issue Jun 17, 2024 · 0 comments
Open
1 of 3 tasks

unhelpful error message in KNearNeigh #16

sschmidt23 opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sschmidt23
Copy link
Collaborator

See #120 in rail_base here, I'm pretty sure this is because we do not have a check that the bands, ref_band, and bands in mag_limits dict are actually present in the data. Often times people specify the bands correctly, but forget to include a mag_limits dict with the updated names, which can cause an error, so we just need to add those checks and some helpful error messages

Before submitting
Please check the following:

  • I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
  • I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
  • If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
@sschmidt23 sschmidt23 added the bug Something isn't working label Jun 17, 2024
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

No branches or pull requests

1 participant