-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Problem
There are cases when materials in a SourcePlate require different SPtype values when transfering via the echo. For example, mammalian lysate require "384PP_AQ_GP" while water, DNA etc. requires "384PP_Plus_AQ_BP".
Potential solution
If there isn't an established solution to this problem, I'd recommend adding an optional argument to EchoRun.write_picklist method where the user can override plate.type for a given EchoSourceMaterial.name attribute. Something like passing in a iterable of tuples which override plate.type for the associated material e.g.
[("txtl_mm", "384_Plus_AQ_GP")]Would mean all rows where txtl_mm is transfered, use the associated 384_Plus_AQ_GP plate type and everything else is transfered with the default. Let me know if this is works and I'd be happy to make the changes and write associated tests.