Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/navigate/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,6 @@ def simplified_data_process(self, microscope, show_img_pipe, data_func=None):
Function to run on the acquired data.
"""

wait_num = self.camera_wait_iterations
acquired_frame_num = 0

while not self.stop_acquisition:
Expand All @@ -966,15 +965,8 @@ def simplified_data_process(self, microscope, show_img_pipe, data_func=None):
)
# if there is at least one frame available
if not frame_ids:
self.logger.info(f"Navigate Model - Waiting {wait_num}")
wait_num -= 1
if wait_num <= 0:
# Camera timeout, abort acquisition.
break
continue

wait_num = self.camera_wait_iterations

# Leave it here for now to work with current ImageWriter workflow
# Will move it feature container later
if data_func:
Expand Down
Loading