-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove Hamilton liquid classes #225
Comments
one issue with making it a TypedDict is that volume correction becomes slightly more awkward, and the user needs to explicitly say lh.aspirate(vols=[hlc.correct(original_volume)]) but i think for sensitive liquid handling you'll want to fine-tine the volumes anyway, and this method is a lot more transparent than doing it somewhere deep in STAR where it's hidden |
first PR: #248 |
I agree; this puts enormous technical debt on the end user. This way every user must constantly think about the actual piston_volume, i.e. the "corrected_volume", one has to move to achieve the target_liquid_volume. The excellent idea behind standard liquid classes is to not have worry about this. Ideally we want a system/advanced_liquid_class that is more than a dictionary, i.e. an object that corrects not just for volume but corrects all aspirate/dispense attributes... because why would the same blow_out_volume for 1 ul of 50% glycerol work the same way for 1000 of 50% glycerol. This current alternative doesn't seem to address this. |
but with liquid classes, you would still have to worry about this, because the provided liquid classes aren't good enough. yes, we don't have an 'advanced liquid class' yet. |
Liquid classes in the Hamiltonian sense are confusing, especially in PLR: https://labautomation.io/t/how-does-pylabrobot-handle-liquid-classes/977
A lot of code in STAR looks like this:
Hamiltonian liquid classes are effectively dicts of parameters.
We should do the following instead:
so that we can remove all references to Hamilton liquid classes in
STAR
/Vantage
backends, thus simplifying them a lot.HamiltonLiquidClass
can simply be a TypedDict.(I vaguely recall discussing this before, possibly in a private message, can't find a public issue/forum post now)
The text was updated successfully, but these errors were encountered: