def get_working_layout(self): """ Returns the working layout of the library (required by the Trac reporter). """ cnv = LibraryLayoutConverter(self.iso.rack_layout, parent=self) return cnv.get_result()
def __process_transfers(self): # Stock racks are processed per quadrant as follows: # a) Create a working layout from the prep plate layout; # b) Process the single design stock racks (one per design). # c) Process the pool stock rack (if necessary); # Map sector index -> tube transfers. stock_tube_transfer_map = {} for ispp in self.iso.iso_sector_preparation_plates: # The sector prep plate's layout contains the library positions # and tube information. converter = LibraryLayoutConverter(ispp.rack_layout, parent=self) sec_layout = converter.get_result() stts = self.__process_single_design_transfers(ispp.sector_index, sec_layout) stock_tube_transfer_map[ispp.sector_index] = stts if not self.pool_stock_racks is None: self.__process_pool_transfers(ispp.sector_index, sec_layout) return stock_tube_transfer_map
def __process_transfers(self): # Stock racks are processed per quadrant as follows: # a) Create a working layout from the prep plate layout; # b) Process the single design stock racks (one per design). # c) Process the pool stock rack (if necessary); # Map sector index -> tube transfers. stock_tube_transfer_map = {} for ispp in self.iso.iso_sector_preparation_plates: # The sector prep plate's layout contains the library positions # and tube information. converter = LibraryLayoutConverter(ispp.rack_layout, parent=self) sec_layout = converter.get_result() stts = self.__process_single_design_transfers( ispp.sector_index, sec_layout) stock_tube_transfer_map[ispp.sector_index] = stts if not self.pool_stock_racks is None: self.__process_pool_transfers(ispp.sector_index, sec_layout) return stock_tube_transfer_map