diagnostic_rt_qpcr/operation_types/prepare_master_mix/protocol.rb
# Build table for volumes of master mix components
#
# @param composition [PCRComposition]
# @param sample_number [Fixnum]
# @return [Array<Array>] a 2D array formatted for the `table` method in Krill
Build table for volumes of master mix components
Build table for volumes of master mix components
def primer_probe_table(primer_mixes:, composition:, sample_number:)
    table = [[
      composition.primer_probe_mix.display_name,
      'Item',
      "Volume (#{MICROLITERS})"
    ]]
    primer_mixes.each do |primer_mix|
      row = [
        primer_mix.sample.name,
        primer_mix.to_s,
        composition.primer_probe_mix.add_in_table(sample_number)
      ]
      table.append(row)
    end
    table
  end
def primer_probe_table ( primer_mixes : , composition : , sample_number : ) table = [ [ composition . primer_probe_mix . display_name , 'Item' , "Volume (#{MICROLITERS})" ] ] primer_mixes . each do | primer_mix | row = [ primer_mix . sample . name , primer_mix . to_s , composition . primer_probe_mix . add_in_table ( sample_number ) ] table . append ( row ) end table end
Build table for volumes of master mix components
Build table for volumes of master mix components
a 2D array formatted for the `table` method in Krill
a 2D array formatted for the ` table ` method in Krill
Array<Array>
primer_mixes
<not_specific>
composition
<not_specific>
sample_number
<not_specific>
<not_specific>
None