CaltechOpticalObservatories / NGPS

NGPS Software
2 stars 0 forks source link

Colorize text for all OTMflags in GUI #49

Closed chazshapiro closed 3 weeks ago

chazshapiro commented 3 months ago

After running the OTM, any row with a non-empty OTMflag should have colored text, and the OTMflag text of the Plan detail pane should be the same color.

Text colors: BLUE = There's an OTMflag but the exposure will be completed RED = The target will not be completed

To check if a target would be completed, check if the row has a non-empty/None OTMend value.

It looks like the RED case is already implemented but BLUE only partially.

chazshapiro commented 1 month ago

The RED case appears to trigger on whether the OTMflag has a "-1" in it. Checking for a valid OTMend time would be more reliable.

chazshapiro commented 1 month ago

found related bug in OTM where incomplete exposure at end of list is not flagged

chazshapiro commented 3 weeks ago

fixed