Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort stalled acquisitions #81

Merged
merged 5 commits into from
Aug 9, 2023
Merged

Abort stalled acquisitions #81

merged 5 commits into from
Aug 9, 2023

Conversation

ieivanov
Copy link
Collaborator

@ieivanov ieivanov commented Aug 8, 2023

Issue #26 is not completely gone and the Oryx camera will every now and then drop a frame (once in a 8-hour acquisition?), leading to #41. In this PR I abort CZYX acquisitions which are taking too long such that we can proceed with the next timepoint. Tested and works well, ready to merge.

With the new version of pycromanager I observed no slowdown in a 3 hour acquisition, which was the original motivation for #22.

Separately, I'll look into why the camera may be dropping frames as outlined in #26 to get to the source of the issue.

Fixes #64, #41

Requires AcqEngJ 0.30.1 which, for now, I compile manually.

@ieivanov
Copy link
Collaborator Author

ieivanov commented Aug 8, 2023

@talonchandler @edyoshikun can I get an approval for this PR?

Copy link
Contributor

@talonchandler talonchandler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM...I gave a code a quick read and didn't spot any obvious problems.

@ieivanov ieivanov merged commit 6e7f9b4 into main Aug 9, 2023
@ieivanov ieivanov deleted the abort_stalled_acq_2 branch August 19, 2023 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert back to checking if acq is finished based on image_saved_fn callback
2 participants