libraries/HighThroughputHelper.rb
def inoculate_glycerol_stock_inoculates(inoculation_prep_hash:, tubeNum_hash:)
    out_collections_arr = Collection.find(inoculation_prep_hash.keys)
    inoculation_prep_hash.each do |out_collection_id, inoculation_item_hash|
      collection = out_collections_arr.select {|c| c.id == out_collection_id }.first
      inoculation_item_hash.each do |input_item_id, media_rc_list_hash|
        media_rc_list_hash.each do |media_item_id, rc_list|
          show do
            title "Inoculate #{collection} with Resuspended Inoculants"
            separator
            note "Follow the table below to transfer <b>#{SATURATION_CULT_VOL}#{MICROLITERS}</b> from a resuspended inoculant to the corresponding well."
            bullet "The numbers are the table correspond to the labels on the resuspension tubes."
            table highlight_alpha_rc(collection, rc_list) {|r,c| "#{tubeNum_hash[input_item_id][media_item_id]}"} 
          end
        end
      end
      seal_plate(collection_id=out_collection_id)
    end
  end
# Guides technician through preparing inoculum from Yeast Glycerol Stocks
Guides technician through preparing inoculum from Yeast Glycerol Stocks
Guides technician through preparing inoculum from Yeast Glycerol Stocks
def inoculate_glycerol_stock_inoculates(inoculation_prep_hash:, tubeNum_hash:)
    out_collections_arr = Collection.find(inoculation_prep_hash.keys)
    inoculation_prep_hash.each do |out_collection_id, inoculation_item_hash|
      collection = out_collections_arr.select {|c| c.id == out_collection_id }.first
      inoculation_item_hash.each do |input_item_id, media_rc_list_hash|
        media_rc_list_hash.each do |media_item_id, rc_list|
          show do
            title "Inoculate #{collection} with Resuspended Inoculants"
            separator
            note "Follow the table below to transfer <b>#{SATURATION_CULT_VOL}#{MICROLITERS}</b> from a resuspended inoculant to the corresponding well."
            bullet "The numbers are the table correspond to the labels on the resuspension tubes."
            table highlight_alpha_rc(collection, rc_list) {|r,c| "#{tubeNum_hash[input_item_id][media_item_id]}"} 
          end
        end
      end
      seal_plate(collection_id=out_collection_id)
    end
  end
def inoculate_glycerol_stock_inoculates ( inoculation_prep_hash : , tubeNum_hash : ) out_collections_arr = Collection . find ( inoculation_prep_hash . keys ) inoculation_prep_hash . each do | out_collection_id , inoculation_item_hash | collection = out_collections_arr . select { | c | c . id == out_collection_id } . first inoculation_item_hash . each do | input_item_id , media_rc_list_hash | media_rc_list_hash . each do | media_item_id , rc_list | show do title "Inoculate #{collection} with Resuspended Inoculants" separator note "Follow the table below to transfer <b>#{SATURATION_CULT_VOL}#{MICROLITERS}</b> from a resuspended inoculant to the corresponding well." bullet "The numbers are the table correspond to the labels on the resuspension tubes." table highlight_alpha_rc ( collection , rc_list ) { | r , c | "#{tubeNum_hash[input_item_id][media_item_id]}" } end end end seal_plate ( collection_id = out_collection_id ) end end
Guides technician through preparing inoculum from Yeast Glycerol Stocks
Guides technician through preparing inoculum from Yeast Glycerol Stocks
inoculation_prep_hash
tubeNum_hash