Пример #1
0
    def __init__(self, shape=None):
        """
        Constructor:

        :param shape: The rack shape - usually a 96-well plate, but you can
            overwrite that.
        :type shape: :class:`thelma.entities.rack.RackShape`
        :default shape: *None* (96-well)
        """
        if shape is None:
            shape = RACK_SHAPE_NAMES.from_name(self.__DEFAULT_SHAPE_NAME)
        MoleculeDesignPoolLayout.__init__(self, shape)
Пример #2
0
    def __init__(self, shape=None):
        """
        Constructor:

        :param shape: The rack shape - usually a 96-well plate, but you can
            overwrite that.
        :type shape: :class:`thelma.entities.rack.RackShape`
        :default shape: *None* (96-well)
        """
        if shape is None:
            shape = RACK_SHAPE_NAMES.from_name(self.__DEFAULT_SHAPE_NAME)
        MoleculeDesignPoolLayout.__init__(self, shape)
Пример #3
0
def get_stock_rack_shape():
    """
    Returns the :class:`thelma.entities.rack.RackShape` for stock racks.
    """
    return RACK_SHAPE_NAMES.from_name(STOCK_RACK_SHAPE_NAME)