Class: Sequencescape::Api::V2::QcResult
- Inherits:
-
Base
- Object
- Base
- Sequencescape::Api::V2::QcResult
- 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
-
#unit_value ⇒ Unit
Returns a Unit, which encapsulates both the scale and the units.
Instance Method Details
#unit_value ⇒ Unit
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
15 16 17 |
# File 'app/sequencescape/sequencescape/api/v2/qc_result.rb', line 15 def unit_value Unit.new(value, units) end |