AFL.automation.prepare.BioSANSPrepare#
Classes
|
|
|
Minimal mock EIC client for testing and mock_mode. |
|
Base class for prepare drivers. |
- class AFL.automation.prepare.BioSANSPrepare.BioSANSPrepare(overrides=None)[source]#
- defaults = {'beamline': 'CG3', 'catch_volume': '10 ul', 'cfenable_timeout_s': 1800.0, 'eic_token': '1', 'exposure': 600, 'fixed_compositions': {}, 'ipts_number': '1234', 'mixing_locations': [], 'mock_mode': False, 'stocks': []}#
- before_balance(target: dict) None[source]#
Subclass hook to perform backend-specific checks before solving.
- on_prepare_exception(destination, dest_was_none)[source]#
Subclass hook to rollback destination bookkeeping on exceptions.
- execute_preparation(target: dict, balanced_target, destination: str) bool[source]#
Execute backend-specific prepare actions.
Returns False for handled, non-fatal failures where caller should return (None, None). Raise for hard failures.
- property client#
- advanceSample(**kwargs)#
Default no-op handler for injected commands.
- calibrate_sensor(**kwargs)#
Default no-op handler for injected commands.
- home(**kwargs)#
Default no-op handler for injected commands.
- loadSample(**kwargs)#
Default no-op handler for injected commands.
- rinseCell(**kwargs)#
Default no-op handler for injected commands.
- transfer(**kwargs)#
Default no-op handler for injected commands.
- transfer_to_catch(**kwargs)#
Default no-op handler for injected commands.