Skip to content

Commit

Permalink
More POCS Status
Browse files Browse the repository at this point in the history
* Call the status updates after each take observation.
  • Loading branch information
wtgee committed May 12, 2024
1 parent 373e85f commit 757ae2c
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}')

Check warning on line 304 in src/panoptes/pocs/core.py

View check run for this annotation

Codecov / codecov/patch

src/panoptes/pocs/core.py#L303-L304

Added lines #L303 - L304 were not covered by tests

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

0 comments on commit 757ae2c

Please sign in to comment.