Example of 96 well stamping using PyHamilton

hello! Would someone be able to share examples (.py files) of 96 well stamping using PyHamilton? This is not an example of this in the git folder (yes there are examples of tip pickup/eject but not involving source/destination volume transfer steps). I’m trying to use AI-generated Python scripts and getting lots of random errors and hallucinations :slight_smile: Many thanks in advance to the community!

1 Like
with HamiltonInterface(windowed=True) as ham_int: 
    initialize(ham_int) 
    tip_pick_up_96(ham_int, tip_adapter) 
    aspirate_96(ham_int, plate, vol, liquidClass=liquid_class, capacitiveLLD=1, liquidFollowing=1)
    dispense_96(ham_int, plate, vol, liquidClass=liquid_class, capacitiveLLD=1, liquidFollowing=1)
    tip_eject_96(ham_int)

Take a look at: pyhamilton/pyhamilton/liquid_handling_wrappers.py at master · dgretton/pyhamilton · GitHub
and
pyhamilton/pyhamilton/defaultcmds.py at master · dgretton/pyhamilton · GitHub

2 Likes

I recommend running pyhamilton-new-project from the command line once you have everything installed, this gives a decent example of a basic protocol including liquid-handling. You can also see the same process explained more clearly in the tutorial on here