CaltechOpticalObservatories / NGPS

NGPS Software
2 stars 0 forks source link

Once a target has a coordinate entered in the GUI, the coordinate can never again be removed. #44

Closed astronomerdave closed 1 month ago

astronomerdave commented 8 months ago

Coordinates (RA, DEC) should be allowed to be empty, and a target with empty coordinates can be created. But, if you enter coordinates, then you can not change your mind and later erase them.

Doing so prints: java.lang.RuntimeException: Expected a string of the form hh:mm:ss.sss, but got: '' in the console window. Although interestingly, there is no such exception if you get the form "wrong", as long as it's a number. I.E., entering "1" or "1.0" or "0:0" all are accepted without error.

jenniferwillow commented 8 months ago

I will look at this when I return next week. Sincerely Jennifer

Sent from my iPad

On Oct 11, 2023, at 1:01 PM, David Hale @.***> wrote:



Coordinates (RA, DEC) should be allowed to be empty, and a target with empty coordinates can be created. But, if you enter coordinates, then you can not change your mind and later erase them.

Doing so prints: java.lang.RuntimeException: Expected a string of the form hh:mm:ss.sss, but got: '' in the console window. Although interestingly, there is no such exception if you get the form "wrong", as long as it's a number. I.E., entering "1" or "1.0" or "0:0" all are accepted without error.

— Reply to this email directly, view it on GitHubhttps://github.com/CaltechOpticalObservatories/NGPS/issues/44, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCPAKHWW2TPFDDWEJU3SD3X633JHANCNFSM6AAAAAA54Q5SXA. You are receiving this because you were assigned.Message ID: @.***>

chazshapiro commented 4 months ago

I was just able to edit the target list to replace one RA with a blank, but when I clicked ACCEPT the entire list disappeared.

astronomerdave commented 1 month ago

Not currently reproducible.