Skip to content

Conversation

@ederag
Copy link
Contributor

@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.
@ap--
Copy link
Owner

ap-- commented Oct 24, 2025

🙏 Thank you @ederag

Sorry for the long delay.

@ap-- ap-- merged commit 65d7146 into ap--:main Oct 24, 2025
1 check 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