Skip to content

Conversation

ederag
Copy link

@ederag ederag commented Jul 17, 2025

Previously the error message was

TypeError: device has to be a `SeaBreezeDevice`

which could be misinterpreted:
it is the variable that has an incorrect type, not the physical spectrometer.

Also display the representation of device, following this example:
https://docs.python.org/3/howto/descriptor.html

ederag added 2 commits July 17, 2025 18:30
Previously the error message was
TypeError: device has to be a `SeaBreezeDevice`
which could be misinterpreted.
It is the variable that has an incorrect type,
not the physical spectrometer.
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