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

Add rtscts keyword to TransportDescriptorParser #106

Merged

Conversation

pieterbuzing
Copy link
Collaborator

Added a proper case for bool type in the parser (otherwise any non-empty string would evaluate to True).

@pieterbuzing pieterbuzing linked an issue Oct 9, 2024 that may be closed by this pull request
The test assumed rtscts would be False, but it's actualy always set to True in Thorlabs_MFF10X.__init__(). It just wasn't used because the parser didn't support the rtscts keyword up to now.
Copy link
Collaborator

@heevasti heevasti left a comment

Choose a reason for hiding this comment

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

Minor comments, but should not have an effect for users as long as drivers with serial connection always are implemented using the transport string and create_transport.

@pieterbuzing pieterbuzing merged commit f1e5028 into main Oct 10, 2024
6 checks passed
@pieterbuzing pieterbuzing deleted the 105-serial-transport-descriptor-missing-rtscts-definition branch October 10, 2024 11:07
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.

Serial transport descriptor missing 'rtscts' definition
2 participants