SAGUARO-MMA / saguaro_tom

A Target and Observation Manager for SAGUARO
0 stars 0 forks source link

Add TNS query to vetting button #41

Closed griffin-h closed 1 year ago

griffin-h commented 1 year ago

This resolves #39 by crossmatching against our local copy of the TNS when the "Vet" button is clicked. If a match is found, the name, classification, and redshift are updated accordingly. Once the name is updated, the "Get TNS phot." button will appear.

I updated requirements.txt to point to a branch of the kne_cand_vetting package until SAGUARO-MMA/kne_cand_vetting#10 is merged.

For some reason, we were still calling galaxy_search with a list of coordinates, which was causing the request to hang. I fixed this too (already matches what was in the target_post_save hook).