Skip to content

Commit

Permalink
More POCS Status (#1265)
Browse files Browse the repository at this point in the history
* Call the status updates after each take observation.
  • Loading branch information
wtgee authored May 12, 2024
1 parent 373e85f commit b942523
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/panoptes/pocs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ def observe_target(self,
f'Starting {pic_num:03d} of {current_observation.min_nexp:03d} '
f'with {exptime=}'
)

status = self.status
self.logger.debug(f'Status before starting observation: {status}')

try:
self.observatory.take_observation(blocking=True)
except error.CameraNotFound:
Expand Down

0 comments on commit b942523

Please sign in to comment.