mxcubecore.HardwareObjects.abstract.sample_changer.Container#

Classes

Basket(container, number[, samples_num, name])

Container(type, container, address, scannable)

Entity class holding state of any hierarchical sample container

Pin(basket, basket_no, sample_no)

class mxcubecore.HardwareObjects.abstract.sample_changer.Container.Basket(container, number, samples_num=10, name='Puck')[source]#

Bases: Container

clear_info()[source]#

Clears all sample info (also in components if object is a container)

class mxcubecore.HardwareObjects.abstract.sample_changer.Container.Container(type, container, address, scannable)[source]#

Bases: Component

Entity class holding state of any hierarchical sample container

clear_info()[source]#

Clears all sample info (also in components if object is a container)

get_component_by_address(address)[source]#

Returns a component through its slot address or None if address is invalid :rtype: Component

get_component_by_id(id)[source]#

Returns a component through its id or None if id is invalid :rtype: Component

get_components()[source]#

Returns the list of components of this container :rtype: list

get_present_samples()[source]#

Returns the list of all Sample objects under of this container (recursively) tagged as present :rtype: list

get_sample_list()[source]#

Returns the list of all Sample objects under of this container (recursively) :rtype: list

get_type()[source]#

Returns a description of the type of container Known types: - Puck - Vial - Plate - Well - SC3 - PlateSupport - GRob :rtype: str

has_component_address(address)[source]#

Returns if has a component with a given address :rtype: bool

has_component_id(id)[source]#

Returns if has a component with a given ID :rtype: bool

is_empty()[source]#

Returns true if there is no sample present sample under this container :rtype: bool

class mxcubecore.HardwareObjects.abstract.sample_changer.Container.Pin(basket, basket_no, sample_no)[source]#

Bases: Sample