alercebroker / ztf_explorer

🌚 🔭 💻 ZTF Explorer for the ALeRCE broker
https://alerce.online/
6 stars 0 forks source link

[BUG] Incorrect Vizier link when declination is negative #358

Open fforster opened 2 years ago

fforster commented 2 years ago

Describe the bug Incorrect Vizier link when declination is negative

To Reproduce Steps to reproduce the behavior:

  1. Go to https://alerce.online/object/ZTF20abezywi
  2. Click on Other Archives -> Vizier
  3. See error: Vizier address contains two minus signs in the declination, which gives an error (http://vizier.u-strasbg.fr/viz-bin/VizieR-4?-c=245.72240946666662--18.379801150000002&-c.rs=10&-out.add=_r&-sort=_r&-out.max=$4)

Expected behavior The correct address should be http://vizier.u-strasbg.fr/viz-bin/VizieR-4?-c=245.72240946666662-18.379801150000002&-c.rs=10&-out.add=_r&-sort=_r&-out.max=$4

Screenshots image

Additional context Thanks to Li Wenxiong for notifying us about this bug!

dirodriguezm commented 2 years ago

So there's no way to write negative values ?

fforster commented 2 years ago

Yes, with only one minus sign, not two.