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

        ExcelLayoutFileParser.__init__(self, stream, parent=parent)
        #: Used to recognise transfer volume tag definitions.
        self.transfer_volume_validator = ParameterAliasValidator(
                                         self.TRANSFER_VOLUME_MARKER)
        #: User to recognise diluent tag definitions.
        self.diluent_validator = ParameterAliasValidator(self.DILUENT_MARKER)
        #: Is set by the handler.
        self.source_role_marker = None
        #: Is set by the handler.
        self.target_role_marker = None
        #: Is used to generate the label of the resulting worklists.
        self.worklist_prefix = None
        #: Maps the racks and reservoirs found onto their identifiers
        #: (as :class:`_TransferRackParsingContainer` objects).
        self.rack_containers = None
        #: Maps steps container (:class:`_TransferStepParsingContainer`)
        #: onto step numbers.
        self.step_containers = None
Exemplo n.º 2
0
 def reset(self):
     ExcelLayoutFileParser.reset(self)
     self.worklist_prefix = None
     self.rack_containers = dict()
     self.step_containers = dict()