Example #1
0
 def __create_source_plate_buffer_worklists(self):
     # These worklists are responsible for the addition of annealing
     # buffer to the pool preparation plate. There is 1 worklist for each
     # quadrant.
     self.add_debug('Create preparation plate buffer worklist ...')
     self.__stock_to_prep_vol = get_source_plate_transfer_volume()
     buffer_volume = PREPARATION_PLATE_VOLUME - self.__stock_to_prep_vol
     for sector_index, base_layout in self.__quadrant_layouts.iteritems():
         label = self.LIBRARY_PREP_BUFFER_WORKLIST_LABEL % (
             self.library_name, (sector_index + 1))
         self.__create_buffer_worklist(base_layout, buffer_volume, label,
                                       sector_index)
Example #2
0
 def __write_prep_creation_section(self):
     # This part deals with the transfer from pool stock racks to preparation
     # (source) plates.
     self.add_debug('Create source plate section ...')
     self._write_headline(header_text=self.HEADER_SOURCE_CREATION)
     lines = []
     transfer_volume = get_source_plate_transfer_volume()
     volume_line = self.VOLUME_LINE % (transfer_volume)
     lines.append(volume_line)
     buffer_volume = PREPARATION_PLATE_VOLUME - transfer_volume
     buffer_line = self.BUFFER_LINE % buffer_volume
     lines.append(buffer_line)
     for sector_index in sorted(self.pool_stock_racks.keys()):
         lines.append('')
         lines.append(self.QUADRANT_LINE % (sector_index + 1))
         pool_barcode = self.pool_stock_racks[sector_index]
         src_plate = self.__source_plates[sector_index]
         src_term = '%s (%s)' % (src_plate.barcode, src_plate.label)
         lines.append(self.SOURCE_LINE % (pool_barcode))
         lines.append(self.TARGET_LINE % (src_term))
     self._write_body_lines(lines)
Example #3
0
 def __write_prep_creation_section(self):
     # This part deals with the transfer from pool stock racks to preparation
     # (source) plates.
     self.add_debug('Create source plate section ...')
     self._write_headline(header_text=self.HEADER_SOURCE_CREATION)
     lines = []
     transfer_volume = get_source_plate_transfer_volume()
     volume_line = self.VOLUME_LINE % (transfer_volume)
     lines.append(volume_line)
     buffer_volume = PREPARATION_PLATE_VOLUME - transfer_volume
     buffer_line = self.BUFFER_LINE % buffer_volume
     lines.append(buffer_line)
     for sector_index in sorted(self.pool_stock_racks.keys()):
         lines.append('')
         lines.append(self.QUADRANT_LINE % (sector_index + 1))
         pool_barcode = self.pool_stock_racks[sector_index]
         src_plate = self.__source_plates[sector_index]
         src_term = '%s (%s)' % (src_plate.barcode, src_plate.label)
         lines.append(self.SOURCE_LINE % (pool_barcode))
         lines.append(self.TARGET_LINE % (src_term))
     self._write_body_lines(lines)