CaltechOpticalObservatories / NGPS

NGPS Software
3 stars 0 forks source link

target info not saved to database #151

Open astronomerdave opened 1 month ago

astronomerdave commented 1 month ago

Steps to re-create:

  1. loaded a target list from my account which had one target with coords 0:0:0 0:0:0
  2. changed coords to something non-zero
  3. clicked accept (according to the manual, this should save my target to the database)
  4. issued command-line test commands to mimic what the sequencer would do: seq targetset bob (selects the target set) seq test getnext (loads the first target in the set with state=PENDING, which is what the sequencer will do when told to start.
  5. Notice in the message pane says the target coords are 0 0

image

It might be worth noting there is a discrepancy in the target ID numbers. When I issued seq targetset bob from the command line, it reported as having loaded target set ID 182, but as you can see in the GUI, it is ID 183.

image

astronomerdave commented 1 month ago

I next marked my target as completed, again from the command line, seq test complete, which performs the actions that the sequencer would do after an observation completed, which is to change the state to COMPLETED and insert it into the completed targets table. Note the owner is cshapiro even though I am logged in as dhale.

image

astronomerdave commented 1 month ago

This might just be a glitch in how targetset bob was created, because still logged in as dhale I created a new targetlist from scratch, and then followed the same steps above. The target was correctly loaded and when added to the completed table, is identified as me being the owner.

image

It might also be worth noting that when I marked this target as complete, it turned grey in the target list, but when I marked bob as completed, it did not turn grey.