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

Reach handling #27

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Reach handling #27

merged 3 commits into from
Aug 4, 2023

Conversation

fk3
Copy link
Contributor

@fk3 fk3 commented Aug 4, 2023

reach() is a sequencer function and thus should be defined in the EmptyDevice class. Application logic that needs to check if reach was overridden by an instrument driver, should use appropriate code (i.e. check the __dict__ of the cls)

@fk3 fk3 requested a review from a team as a code owner August 4, 2023 16:01
fk3 added 3 commits August 4, 2023 18:15
Reach was previously excluded because the Temperature module
had to identify if a device class defines reach and would also
detect the reach defined in EmptyDevice. Now, the Temperature
module has a more sophisticated check that is able to distinguish
between reach defined in EmptyDevice or in the device class.
@fk3 fk3 merged commit b6025a2 into main Aug 4, 2023
3 checks passed
@fk3 fk3 deleted the reach-handling branch August 4, 2023 16:42
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.

1 participant