Skip to content

Optional wait parameters on captures #29

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

Merged
merged 2 commits into from
May 2, 2025
Merged

Optional wait parameters on captures #29

merged 2 commits into from
May 2, 2025

Conversation

JohemianKnapsody
Copy link
Collaborator

Remove unused import, and add wait parameters to captures. Default to None, so behaviour won't be changed

Copy link
Contributor

@julianstirling julianstirling left a comment

Choose a reason for hiding this comment

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

Type hints don't agree with default value, for wait.

Should we put in a default of 5s? Or even 0.9s so it works even on Pis that don't have the updated yaml?

@JohemianKnapsody
Copy link
Collaborator Author

Default value is now 0.9, optionally so None can be passed

@julianstirling
Copy link
Contributor

Hi Joe, This looks great. Have you tested this on a Pi? If so I think it is ready.

@JohemianKnapsody
Copy link
Collaborator Author

Hi Joe, This looks great. Have you tested this on a Pi? If so I think it is ready.

Tested it on my microscope, all works as expected

Copy link
Contributor

@julianstirling julianstirling left a comment

Choose a reason for hiding this comment

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

Thanks for the changes

@julianstirling julianstirling merged commit 712b223 into main May 2, 2025
3 checks passed
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.

2 participants