genghisken / ps1

Pan-STARRS and ATLAS code
3 stars 0 forks source link

Some objects crash the new-style PS1 web pages #145

Open genghisken opened 5 years ago

genghisken commented 5 years ago

A few objects crash the new-style PS1 webpages. They are objects that have no cal_psf_mag values in the detections.

E.g.: https://star.pst.qub.ac.uk/sne/pso3/psdb/candidate/1004722630251830600/ https://star.pst.qub.ac.uk/sne/pso3/psdb/candidate/1005121270253624900/ https://star.pst.qub.ac.uk/sne/pso3/psdb/candidate/1005442270255502100/ https://star.pst.qub.ac.uk/sne/pso3/psdb/candidate/1005631370242118000/

This is a bug - we should always attempt to render the page, but just not show the lightcurve if there are no valid values.