Interesting
→ confirming: any STARPlus’ teaching_tip_rack is the same as a normal STARlet
This is not that difficult: you just ask the firmware how many tracks the device has and then classify what it is based on the return:
54T → STAR (wasteblock after track 54)
30/50/71T → STARlet or STARPlus (wasteblock after track 30)
But to be honest, in PLR I would only want it to use this simple information for cross-verification:
All PLR users should have to say is
from pylabrobot.hamilton.star import STAR
star = STAR()
await star.setup()
await star.run_weekly_maintenance(report_directory="./")
await star.stop()
…yes, making it a real method ![]()
(in the well-established programming meaning of the word)
To switch it to a STARlet or STARPlus:
from pylabrobot.hamilton.star import STARlet, STARPlus
