Class: UatActions::GenerateQcResults

Inherits:
UatActions show all
Defined in:
app/uat_actions/uat_actions/generate_qc_results.rb

Overview

Will generate qc results for a given plate

Constant Summary collapse

ATTRIBUTE_UNITS =
{
  'molarity' => 'nM',
  'volume' => 'ul',
  'concentration' => 'ng/ul',
  'gender_markers' => 'bases',
  'loci_passed' => 'bases',
  'RIN' => 'RIN',
  'primer_panel' => 'panels',
  'loci_tested' => 'bases',
  'gel_pass' => 'status',
  'live_cell_count' => 'cells/ml',
  'viability' => '%'
}.freeze

Constants inherited from UatActions

CATEGORY_LIST

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from UatActions

all, category, find, form_field, form_fields, #form_fields, grouped_and_sorted_uat_actions, id, inherited, permitted, #report, #save, to_partial_path, uat_actions

Class Method Details

.defaultUatActions::GeneratePlateConcentrations

Returns a default copy of the UatAction which will be used to fill in the form, with values for the units, and min and max concentrations.

Returns:



60
61
62
# File 'app/uat_actions/uat_actions/generate_qc_results.rb', line 60

def self.default
  new(measured_attribute: 'concentration', minimum_value: 0, maximum_value: 100)
end

Instance Method Details

#performObject



70
71
72
# File 'app/uat_actions/uat_actions/generate_qc_results.rb', line 70

def perform
  construct_qc_assay
end