Exemplo n.º 1
0
    def __init__(self, stream, allow_rack_creation=False, parent=None):
        """
        Constructor.

        :param bool allow_rack_creation: Flag indicating if it is allowed to
            create racks. This option can only be set if the racks are not
            used for worklist printing or execution right away (because the
            barcode is generated by the DB upon persisting).
        :default allow_rack_creation: *False*
        """
        LayoutParserHandler.__init__(self, stream, parent=parent)
        #: Is it allowed to create racks? This option can only be set to *True*
        #: if the racks are not used for worklist printing or execution right
        #: away (because the barcode is generated by the DB upon persisting).
        self.allow_rack_creation = allow_rack_creation
        #: The :class:`WorklistSeries` to be generated.
        self.__worklist_series = None
        #: The :class:`RackOrReservoirItem` objects mapped onto rack identifiers.
        self.__ror_map = dict()
        #: The aggregate used to fetch racks.
        self.__rack_agg = None
        #: Intermediate error storage.
        self.__missing_rack_barcodes = None
        #: Intermediate error storage.
        self.__missing_rack_barcodes = None
Exemplo n.º 2
0
 def reset(self):
     LayoutParserHandler.reset(self)
     self.__worklist_series = WorklistSeries()
     self.__rack_agg = get_root_aggregate(IRack)
     self.__missing_rack_barcodes = []
Exemplo n.º 3
0
 def reset(self):
     LayoutParserHandler.reset(self)
     self.__base_layout = None
Exemplo n.º 4
0
 def __init__(self, stream, parent=None):
     LayoutParserHandler.__init__(self, stream, parent=parent)
     #: The library base layout.
     self.__base_layout = None
Exemplo n.º 5
0
 def reset(self):
     LayoutParserHandler.reset(self)
     self.__base_layout = None
Exemplo n.º 6
0
 def __init__(self, stream, parent=None):
     LayoutParserHandler.__init__(self, stream, parent=parent)
     #: The library base layout.
     self.__base_layout = None