Skip to content

unhelpful error message in KNearNeigh #16

Description

@sschmidt23

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions