Beispiel #1
0
 def reset(self):
     """
     Reset all parser values except for initialisation values.
     """
     TxtFileParser.reset(self)
     self.timestamp = None
     self.rack_barcode = None
     self.position_map = dict()
Beispiel #2
0
 def __init__(self, stream, parent=None):
     TxtFileParser.__init__(self, stream, parent=parent)
     #: The tube transfer items found (stored as
     #: :class:`XL20TransferParsingContainer`).
     self.xl20_transfers = None
     # Intermediate error storage
     self.__incomplete_line = None
     self.__error_descriptions = None
     self.__inconsistent_tube_barcodes = None
     self.__invalid_timestamp = None
Beispiel #3
0
 def reset(self):
     """
     Reset all parser values except for initialisation values.
     """
     TxtFileParser.reset(self)
     self.xl20_transfers = []
     self.__incomplete_line = []
     self.__error_descriptions = []
     self.__inconsistent_tube_barcodes = []
     self.__invalid_timestamp = []
Beispiel #4
0
 def __init__(self, stream, parent=None):
     TxtFileParser.__init__(self, stream, parent=parent)
     #: The tube transfer items found (stored as
     #: :class:`XL20TransferParsingContainer`).
     self.xl20_transfers = None
     # Intermediate error storage
     self.__incomplete_line = None
     self.__error_descriptions = None
     self.__inconsistent_tube_barcodes = None
     self.__invalid_timestamp = None
Beispiel #5
0
 def reset(self):
     """
     Reset all parser values except for initialisation values.
     """
     TxtFileParser.reset(self)
     self.xl20_transfers = []
     self.__incomplete_line = []
     self.__error_descriptions = []
     self.__inconsistent_tube_barcodes = []
     self.__invalid_timestamp = []
Beispiel #6
0
    def __init__(self, stream, parent=None):
        TxtFileParser.__init__(self, stream, parent=parent)
        #: The timestamp parsed from the file.
        self.timestamp = None
        #: The barcode of the rack to parse.
        self.rack_barcode = None

        #: The tube barcode (or None) for each label found (labels are
        #: validated before storage).
        self.position_map = None