コード例 #1
0
 def _init_column_maps(self):
     """
     Initialises the CsvColumnParameters object for the
     :attr:`_column_map_list`.
     """
     source_rack_column = CsvColumnParameters.create_csv_parameter_map(
         self.SOURCE_RACK_INDEX, self.SOURCE_RACK_HEADER,
         self._source_rack_values)
     source_pos_column = CsvColumnParameters.create_csv_parameter_map(
         self.SOURCE_POS_INDEX, self.SOURCE_POS_HEADER,
         self._source_pos_values)
     target_rack_column = CsvColumnParameters.create_csv_parameter_map(
         self.TARGET_RACK_INDEX, self.TARGET_RACK_HEADER,
         self._target_rack_values)
     target_pos_column = CsvColumnParameters.create_csv_parameter_map(
         self.TARGET_POS_INDEX, self.TARGET_POS_HEADER,
         self._target_pos_values)
     volume_column = CsvColumnParameters.create_csv_parameter_map(
         self.TRANSFER_VOLUME_INDEX, self.TRANSFER_VOLUME_HEADER,
         self._volume_values)
     self._column_map_list = [
         source_rack_column, source_pos_column, target_rack_column,
         target_pos_column, volume_column
     ]
     self.add_info('Column generation complete.')
コード例 #2
0
 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
     ]
コード例 #3
0
ファイル: uploadreport.py プロジェクト: papagr/TheLMA
 def __generate_columns(self):
     # Generates the columns for the report.
     position_column = CsvColumnParameters.create_csv_parameter_map(
         self.POSITION_INDEX, self.POSITION_HEADER, self.__position_values)
     md_pool_column = CsvColumnParameters.create_csv_parameter_map(
         self.MDP_INDEX, self.MDP_HEADER, self.__md_pool_values)
     iso_conc_column = CsvColumnParameters.create_csv_parameter_map(
         self.ISO_CONCENTRATION_INDEX, self.ISO_CONCENTRATION_HEADER,
         self.__iso_concentration_values)
     iso_volume_column = CsvColumnParameters.create_csv_parameter_map(
         self.ISO_VOLUME_INDEX, self.ISO_VOLUME_HEADER,
         self.__iso_volume_values)
     self._column_map_list = [
         position_column, md_pool_column, iso_conc_column, iso_volume_column
     ]
     self.add_info('Column generation completed.')
コード例 #4
0
ファイル: base.py プロジェクト: papagr/TheLMA
 def __generate_columns(self):
     """
     Generates the columns for the report.
     """
     position_column = CsvColumnParameters.create_csv_parameter_map(
         self.POSITION_INDEX, self.POSITION_HEADER, self.__position_values)
     name_column = CsvColumnParameters.create_csv_parameter_map(
         self.REAGENT_NAME_INDEX, self.REAGENT_NAME_HEADER,
         self.__name_values)
     final_df_column = CsvColumnParameters.create_csv_parameter_map(
         self.FINAL_DIL_FACTOR_INDEX, self.FINAL_DIL_FACTOR_HEADER,
         self.__final_dil_factor_values)
     ini_df_column = CsvColumnParameters.create_csv_parameter_map(
         self.PREPAR_DIL_FACTOR_INDEX, self.PREPAR_DIL_FACTOR_HEADER,
         self.__ini_dil_factor_values)
     total_vol_column = CsvColumnParameters.create_csv_parameter_map(
         self.TOTAL_VOLUME_INDEX, self.TOTAL_VOLUME_HEADER,
         self.__total_volume_values)
     reagent_vol_column = CsvColumnParameters.create_csv_parameter_map(
         self.REAGENT_VOL_INDEX, self.REAGENT_VOL_HEADER,
         self.__reagent_volume_values)
     diluent_vol_column = CsvColumnParameters.create_csv_parameter_map(
         self.DILUENT_VOL_INDEX, self.DILUENT_VOL_HEADER,
         self.__diluent_volume_values)
     self._column_map_list = [
         position_column, name_column, final_df_column, ini_df_column,
         total_vol_column, reagent_vol_column, diluent_vol_column
     ]
コード例 #5
0
ファイル: base.py プロジェクト: helixyte/TheLMA
 def __generate_columns(self):
     """
     Generates the columns for the report.
     """
     position_column = CsvColumnParameters.create_csv_parameter_map(
                       self.POSITION_INDEX, self.POSITION_HEADER,
                       self.__position_values)
     name_column = CsvColumnParameters.create_csv_parameter_map(
                       self.REAGENT_NAME_INDEX, self.REAGENT_NAME_HEADER,
                       self.__name_values)
     final_df_column = CsvColumnParameters.create_csv_parameter_map(
                       self.FINAL_DIL_FACTOR_INDEX,
                       self.FINAL_DIL_FACTOR_HEADER,
                       self.__final_dil_factor_values)
     ini_df_column = CsvColumnParameters.create_csv_parameter_map(
                       self.PREPAR_DIL_FACTOR_INDEX,
                       self.PREPAR_DIL_FACTOR_HEADER,
                       self.__ini_dil_factor_values)
     total_vol_column = CsvColumnParameters.create_csv_parameter_map(
                       self.TOTAL_VOLUME_INDEX, self.TOTAL_VOLUME_HEADER,
                       self.__total_volume_values)
     reagent_vol_column = CsvColumnParameters.create_csv_parameter_map(
                       self.REAGENT_VOL_INDEX, self.REAGENT_VOL_HEADER,
                       self.__reagent_volume_values)
     diluent_vol_column = CsvColumnParameters.create_csv_parameter_map(
                       self.DILUENT_VOL_INDEX, self.DILUENT_VOL_HEADER,
                       self.__diluent_volume_values)
     self._column_map_list = [position_column, name_column, final_df_column,
                              ini_df_column, total_vol_column,
                              reagent_vol_column, diluent_vol_column]
コード例 #6
0
ファイル: uploadreport.py プロジェクト: helixyte/TheLMA
 def __generate_columns(self):
     # Generates the columns for the report.
     position_column = CsvColumnParameters.create_csv_parameter_map(
                       self.POSITION_INDEX, self.POSITION_HEADER,
                       self.__position_values)
     md_pool_column = CsvColumnParameters.create_csv_parameter_map(
                       self.MDP_INDEX, self.MDP_HEADER,
                       self.__md_pool_values)
     iso_conc_column = CsvColumnParameters.create_csv_parameter_map(
                       self.ISO_CONCENTRATION_INDEX,
                       self.ISO_CONCENTRATION_HEADER,
                       self.__iso_concentration_values)
     iso_volume_column = CsvColumnParameters.create_csv_parameter_map(
                       self.ISO_VOLUME_INDEX, self.ISO_VOLUME_HEADER,
                       self.__iso_volume_values)
     self._column_map_list = [position_column, md_pool_column,
                              iso_conc_column, iso_volume_column]
     self.add_info('Column generation completed.')
コード例 #7
0
ファイル: biomek.py プロジェクト: helixyte/TheLMA
 def _init_column_maps(self):
     """
     Initialises the CsvColumnParameters object for the
     :attr:`_column_map_list`.
     """
     BiomekWorklistWriter._init_column_maps(self)
     diluent_info_column = \
         CsvColumnParameters.create_csv_parameter_map(
                     self.DILUENT_INFO_INDEX, self.DILUENT_INFO_HEADER,
                     self._diluent_info_values)
     self._column_map_list.append(diluent_info_column)
コード例 #8
0
 def _init_column_maps(self):
     """
     Initialises the CsvColumnParameters object for the
     :attr:`_column_map_list`.
     """
     BiomekWorklistWriter._init_column_maps(self)
     diluent_info_column = \
         CsvColumnParameters.create_csv_parameter_map(
                     self.DILUENT_INFO_INDEX, self.DILUENT_INFO_HEADER,
                     self._diluent_info_values)
     self._column_map_list.append(diluent_info_column)
コード例 #9
0
ファイル: uploadreport.py プロジェクト: helixyte/TheLMA
 def __generate_columns(self):
     # Generates the columns for the report.
     self.add_debug('Generate columns ...')
     source_well_column = CsvColumnParameters.create_csv_parameter_map(
                 self.SOURCE_WELL_INDEX, self.SOURCE_WELL_HEADER,
                 self.__source_well_values)
     design_rack_column = CsvColumnParameters.create_csv_parameter_map(
                 self.DESIGN_RACK_INDEX, self.DESIGN_RACK_HEADER,
                 self.__design_rack_values)
     target_well_column = CsvColumnParameters.create_csv_parameter_map(
                 self.TARGET_WELL_INDEX, self.TARGET_WELL_HEADER,
                 self.__target_well_values)
     iso_volume_column = CsvColumnParameters.create_csv_parameter_map(
                 self.ISO_VOLUME_INDEX, self.ISO_VOLUME_HEADER,
                 self.__iso_volume_values)
     iso_concentration_column = CsvColumnParameters.create_csv_parameter_map(
                 self.ISO_CONCENTRATION_INDEX, self.ISO_CONCENTRATION_HEADER,
                 self.__iso_concentration_values)
     final_conc_column = CsvColumnParameters.create_csv_parameter_map(
                 self.FINAL_CONCENTRATION_INDEX,
                 self.FINAL_CONCENTRATION_HEADER,
                 self.__final_concentration_values)
     self._column_map_list = [source_well_column, design_rack_column,
                              target_well_column, iso_volume_column,
                              iso_concentration_column,
                              final_conc_column]
     self.add_info('Column generation completed.')
コード例 #10
0
ファイル: report.py プロジェクト: papagr/TheLMA
 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
     ]
コード例 #11
0
ファイル: uploadreport.py プロジェクト: papagr/TheLMA
 def __generate_columns(self):
     # Generates the columns for the report.
     self.add_debug('Generate columns ...')
     source_well_column = CsvColumnParameters.create_csv_parameter_map(
         self.SOURCE_WELL_INDEX, self.SOURCE_WELL_HEADER,
         self.__source_well_values)
     design_rack_column = CsvColumnParameters.create_csv_parameter_map(
         self.DESIGN_RACK_INDEX, self.DESIGN_RACK_HEADER,
         self.__design_rack_values)
     target_well_column = CsvColumnParameters.create_csv_parameter_map(
         self.TARGET_WELL_INDEX, self.TARGET_WELL_HEADER,
         self.__target_well_values)
     iso_volume_column = CsvColumnParameters.create_csv_parameter_map(
         self.ISO_VOLUME_INDEX, self.ISO_VOLUME_HEADER,
         self.__iso_volume_values)
     iso_concentration_column = CsvColumnParameters.create_csv_parameter_map(
         self.ISO_CONCENTRATION_INDEX, self.ISO_CONCENTRATION_HEADER,
         self.__iso_concentration_values)
     final_conc_column = CsvColumnParameters.create_csv_parameter_map(
         self.FINAL_CONCENTRATION_INDEX, self.FINAL_CONCENTRATION_HEADER,
         self.__final_concentration_values)
     self._column_map_list = [
         source_well_column, design_rack_column, target_well_column,
         iso_volume_column, iso_concentration_column, final_conc_column
     ]
     self.add_info('Column generation completed.')
コード例 #12
0
ファイル: tubehandler.py プロジェクト: helixyte/TheLMA
 def __generate_columns(self):
     """
     Generates the columns for the report.
     """
     self.add_debug('Generate columns ...')
     src_rack_column = CsvColumnParameters.create_csv_parameter_map(
                 self.SOURCE_RACK_INDEX, self.SOURCE_RACK_HEADER,
                 self._source_rack_values)
     src_pos_column = CsvColumnParameters.create_csv_parameter_map(
                 self.SOURCE_POSITION_INDEX, self.SOURCE_POSITION_HEADER,
                 self._source_position_values)
     tube_barcode_column = CsvColumnParameters.create_csv_parameter_map(
                 self.TUBE_BARCODE_INDEX, self.TUBE_BARCODE_HEADER,
                 self._tube_barcode_values)
     dest_rack_column = CsvColumnParameters.create_csv_parameter_map(
                 self.DEST_RACK_INDEX, self.DEST_RACK_HEADER,
                 self._dest_rack_values)
     dest_pos_column = CsvColumnParameters.create_csv_parameter_map(
                 self.DEST_POSITION_INDEX, self.DEST_POSITION_HEADER,
                 self._dest_position_values)
     self._column_map_list = [src_rack_column, src_pos_column,
                              tube_barcode_column, dest_rack_column,
                              dest_pos_column]
コード例 #13
0
 def __generate_columns(self):
     """
     Generates the columns for the report.
     """
     self.add_debug('Generate columns ...')
     src_rack_column = CsvColumnParameters.create_csv_parameter_map(
         self.SOURCE_RACK_INDEX, self.SOURCE_RACK_HEADER,
         self._source_rack_values)
     src_pos_column = CsvColumnParameters.create_csv_parameter_map(
         self.SOURCE_POSITION_INDEX, self.SOURCE_POSITION_HEADER,
         self._source_position_values)
     tube_barcode_column = CsvColumnParameters.create_csv_parameter_map(
         self.TUBE_BARCODE_INDEX, self.TUBE_BARCODE_HEADER,
         self._tube_barcode_values)
     dest_rack_column = CsvColumnParameters.create_csv_parameter_map(
         self.DEST_RACK_INDEX, self.DEST_RACK_HEADER,
         self._dest_rack_values)
     dest_pos_column = CsvColumnParameters.create_csv_parameter_map(
         self.DEST_POSITION_INDEX, self.DEST_POSITION_HEADER,
         self._dest_position_values)
     self._column_map_list = [
         src_rack_column, src_pos_column, tube_barcode_column,
         dest_rack_column, dest_pos_column
     ]
コード例 #14
0
ファイル: biomek.py プロジェクト: helixyte/TheLMA
 def _init_column_maps(self):
     """
     Initialises the CsvColumnParameters object for the
     :attr:`_column_map_list`.
     """
     source_rack_column = CsvColumnParameters.create_csv_parameter_map(
                 self.SOURCE_RACK_INDEX, self.SOURCE_RACK_HEADER,
                 self._source_rack_values)
     source_pos_column = CsvColumnParameters.create_csv_parameter_map(
                 self.SOURCE_POS_INDEX, self.SOURCE_POS_HEADER,
                 self._source_pos_values)
     target_rack_column = CsvColumnParameters.create_csv_parameter_map(
                 self.TARGET_RACK_INDEX, self.TARGET_RACK_HEADER,
                 self._target_rack_values)
     target_pos_column = CsvColumnParameters.create_csv_parameter_map(
                 self.TARGET_POS_INDEX, self.TARGET_POS_HEADER,
                 self._target_pos_values)
     volume_column = CsvColumnParameters.create_csv_parameter_map(
                 self.TRANSFER_VOLUME_INDEX, self.TRANSFER_VOLUME_HEADER,
                 self._volume_values)
     self._column_map_list = [source_rack_column, source_pos_column,
                              target_rack_column, target_pos_column,
                              volume_column]
     self.add_info('Column generation complete.')