Skip to content

Commit

Permalink
Fixing syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gnthibault committed Jul 18, 2023
1 parent aea87b4 commit 32226e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Pointer/DifferentialPointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def points_async(self, mount, camera, observation, fits_headers, pointing_event,

status = camera_event.wait(timeout=self.timeout_seconds)
if not status:
self.logger.error(f"Problem waiting for images: {e}:{traceback.format_exc()}")
self.logger.error(f"Problem waiting for images: {traceback.format_exc()}")
break

# TODO Integrate this feature with our own solver class
Expand Down
2 changes: 1 addition & 1 deletion Pointer/IterativeSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def points_async(self, mount, camera, observation, fits_headers, pointing_event,

status = camera_event.wait(timeout=self.timeout_seconds)
if not status:
self.logger.error(f"Problem waiting for images: {e}:{traceback.format_exc()}")
self.logger.error(f"Problem waiting for images: {traceback.format_exc()}")
break

# TODO Integrate this feature with our own solver class
Expand Down
4 changes: 2 additions & 2 deletions Pointer/StarOffsetPointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ def acquire_pointing(self, camera, guiding_camera, observation, fits_headers, im
)
status = camera_event.wait(timeout=self.timeout_seconds)
if not status:
msg = f"Problem waiting for images: {e}:{traceback.format_exc()}"
msg = f"Problem waiting for images: {traceback.format_exc()}"
self.logger.error(msg)
raise RuntimeError(msg)
except Exception as e:
self.logger.error(f"Problem waiting for images: {e}:{traceback.format_exc()}")
self.logger.error(f"Problem waiting for images: {e}")
pointing_id, pointing_path = observation.last_pointing
pointing_image = Image(
pointing_path
Expand Down

0 comments on commit 32226e1

Please sign in to comment.