def __generate_columns(self): # Generates the :attr:`_column_map_list` pos_column = CsvColumnParameters(self.POSITION_INDEX, self.POSITION_HEADER, self.__position_values) pool_column = CsvColumnParameters(self.POOL_INDEX, self.POOL_HEADER, self.__pool_values) md_column = CsvColumnParameters(self.MOLECULE_DESIGN_INDEX, self.MOLECULE_DESIGN_HEADER, self.__md_values) tube_column = CsvColumnParameters(self.TUBE_INDEX, self.TUBE_HEADER, self.__tube_values) self._column_map_list = [ pos_column, pool_column, md_column, tube_column ]
def __generate_column_maps(self): # Initializes the CsvColumnParameters object for the # :attr:`_column_map_list`. pool_column = CsvColumnParameters(self.LIBRARY_POOL_INDEX, self.LIBRARY_POOL_HEADER, self.__lib_pool_values) md_column = CsvColumnParameters(self.MOLECULE_DESIGN_INDEX, self.MOLECULE_DESIGN_HEADER, self.__md_values) tube_column = CsvColumnParameters(self.TUBE_BARCODE_INDEX, self.TUBE_BARCODE_HEADER, self.__tube_barcode_values) volume_column = CsvColumnParameters(self.VOLUME_INDEX, self.VOLUME_HEADER, self.__volume_values) rack_barcode_column = \ CsvColumnParameters(self.TARGET_RACK_BARCODE_INDEX, self.TARGET_RACK_BARCODE_HEADER, self.__trg_rack_barcode_values) rack_position_column = \ CsvColumnParameters(self.TARGET_POSITION_INDEX, self.TARGET_POSITION_HEADER, self.__trg_position_values) self._column_map_list = [ pool_column, md_column, tube_column, volume_column, rack_barcode_column, rack_position_column ]