LSSTDESC / rail_sklearn

RAIL algorithms that depend on scikit-learn.
MIT License
1 stars 0 forks source link

unhelpful error message in KNearNeigh #16

Open sschmidt23 opened 4 months ago

sschmidt23 commented 4 months ago

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: