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:
[x] 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.
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: