Venus-style error handling

With Venus there are options to handle certain types of errors during aspirate, for example on insufficient liquid error pipette from the bottom of the container. I see there’s a text file with error code descriptions in pyhamilton. I don’t see any references to this file in the code elsewhere. Does pyhamilton make use of these at this point? What would be the right way to recreate Venus-style handling of individual pipetting errors?

Great question! You should check out hamilton_error_map in

Basically, response codes are sent to python from Venus that the code for an error if one was raised. This gets converted to a Python class via hamilton_error_map. I recommend experimenting with intentionally triggering some of these and then using try except statements for error handling.

1 Like

Awesome, thank you!