AFL.automation.mixing.OT2Prepare#
Functions
|
Classes
|
Special type indicating an unconstrained type. |
|
|
|
|
|
|
|
|
|
|
|
- class AFL.automation.mixing.OT2Prepare.OT2Prepare(overrides=None)[source]#
- defaults = {'catch_volume': '10 ul', 'deck': {}, 'fixed_compositions': {}, 'mixing_locations': [], 'prepare_volume': '100 ul', 'stock_locations': {}, 'stock_mix_order': [], 'stock_transfer_params': {}, 'stocks': []}#
- is_feasible(targets: dict | list[dict]) list[dict | None] [source]#
Check if the target composition(s) is/are feasible for preparation using mass balance. If feasible, returns the balanced target solution dictionary. Otherwise, returns None.
This implementation creates a local MassBalance instance for each feasibility check to avoid modifying the driver’s state.
- apply_fixed_comps(target: dict) dict [source]#
Apply fixed compositions to a target dictionary without overwriting existing values.
- prepare(target: dict, dest: str | None = None) tuple[dict, str] | tuple[None, None] [source]#
Prepare the target solution. The dest argument is currently not used by this implementation.