Class: Sequencescape::Api::V2::QcResult

Inherits:
Base
  • Object
show all
Defined in:
app/sequencescape/sequencescape/api/v2/qc_result.rb

Overview

QC results are generated elsewhere, such as through QuantHub. They comprise a key (eg. molarity), representing the property being measured, a value and a unit. Assay type and assay version track metadata about how the QC was performed.

Instance Method Summary collapse

Instance Method Details

#unit_valueUnit

Returns a Unit, which encapsulates both the scale and the units. Allows us to handle QC results which may be recorded in two different units

Returns:



15
16
17
# File 'app/sequencescape/sequencescape/api/v2/qc_result.rb', line 15

def unit_value
  Unit.new(value, units)
end