Skip to content

Commit

Permalink
fix: clear capture.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Nov 4, 2024
1 parent 14e7f42 commit 511c7ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions wigglecam/services/acquisitionservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ def _import_backend(package: str, backend: str):
def wait_for_hires_frame(self):
return self._camera_backend.wait_for_hires_frame()

def done_hires_frames(self):
return self._camera_backend.done_hires_frames()

def wait_for_hires_image(self, format: str):
return self._camera_backend.wait_for_hires_image(format=format)

Expand Down
2 changes: 1 addition & 1 deletion wigglecam/services/jobservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _jobprocessor_fun(self):
)
)
logger.info(f"got {i+1}/{self._current_job.request.number_captures} frames")

self._acquisition_service.done_hires_frames()
assert len(frames) == self._current_job.request.number_captures

# step 2:
Expand Down

0 comments on commit 511c7ac

Please sign in to comment.