fritz-marshal / fritz

Astronomical data platform for the Zwicky Transient Facility.
https://fritz.science
Other
24 stars 34 forks source link

Submitting filter names in Follow-up request form lead to unexpected results #498

Closed Yeqzids closed 1 year ago

Yeqzids commented 1 year ago

Describe the bug The pre-filled "filters" box in the Follow-up form under the source page indicates the use of filter names (e.g. r), but entering "r" leads to filter_id=1 (which is g) being used.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://fritz.science/source/ZTs0018
  2. Enter "r" in "filters" box under the Follow-up form
  3. Submit the request. The ZTF Requests table shows "filters: r", as expected.
  4. The executed TOO (in this case, field 611 at around 07:41 UT on 2022-12-22) used g-filter instead. Suspecting that Fritz falls back to filter_id=1 with unexpected input?

Expected behavior TOO request has filters = r or filter_id = 2.

Screenshots n/a

Platform information:

Additional context n/a

mcoughlin commented 1 year ago

@Yeqzids Thanks for reporting! I think I figured it out, will go out in deploy tomorrow.