alercebroker/ztf_explorer

[BUG] Incorrect Vizier link when declination is negative

fforster opened this issue · 2 comments

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!

So there's no way to write negative values ?

Yes, with only one minus sign, not two.