mxcubecore.HardwareObjects.EMBLFlexHarvester#

FlexHarvester Linux Java implementation of the Flex sample changer for Harvester Use. Example xml file: <object class = “EMBLFlexHarvester”>

<username>Sample Changer</username> <exporter_address>lid231flex1:9001</exporter_address>

</object>

Classes

EMBLFlexHarvester(*args, **kwargs)

EMBLFlexHarvester is the Hardware Object interface for the EMBL Flex Sample Changer It inherits from EMBLFlexHCD and implements the Harvester interface.

class mxcubecore.HardwareObjects.EMBLFlexHarvester.EMBLFlexHarvester(*args, **kwargs)[source]#

Bases: EMBLFlexHCD

EMBLFlexHarvester is the Hardware Object interface for the EMBL Flex Sample Changer It inherits from EMBLFlexHCD and implements the Harvester interface.

get_room_temperature_mode() bool[source]#

Get the Harvester Room Temperature Mode

Return type:

bool

get_sample_list() List[Any][source]#

Get Sample List related to the Harvester content/processing Plan

Return type:

List[Any]

get_sample_uuid(sample_loc_str: str) str | None[source]#

Get Sample UUID of the sample_loc_str from Sample List

Parameters:

sample_loc_str (str) –

Return type:

str | None

harvest_and_mount_sample(xtal_uuid: str, sample) bool[source]#

return (Bool) : whether the crystal has been Harvest then mount

Parameters:

xtal_uuid (str) –

Return type:

bool

init()[source]#

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.

mount_from_harvester()[source]#

This enable Mounting a sample from Harvester

queue_harvest_next_sample(sample_loc_str) None[source]#

While queue execution send harvest request on next sample of the queue list

Return type:

None

queue_harvest_sample(sample_loc_str: str) bool[source]#

While queue execution send harvest request

Parameters:

sample_loc_str (str) –

Return type:

bool

queue_list() List[str][source]#

builds a List representation of the queue based.

Return type:

List[str]

set_room_temperature_mode(value) bool[source]#

Set the Harvester Room Temperature Mode

Return type:

bool