Class: SequencescapeExcel::SpecialisedField::PrimerPanel
- Inherits:
-
Object
- Object
- SequencescapeExcel::SpecialisedField::PrimerPanel
- Includes:
- Base
- Defined in:
- app/sequencescape_excel/sequencescape_excel/specialised_field/primer_panel.rb
Overview
The primer panel must exist in the primer_panels table and is identified by its name. It is set as an association on aliquot.
Instance Attribute Summary
Attributes included from Base
#sample_manifest_asset, #value
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#update(_attributes = {}) ⇒ Object
13 14 15 16 17 |
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/primer_panel.rb', line 13 def update(_attributes = {}) return unless valid? && aliquots.present? aliquots.each { |aliquot| aliquot.primer_panel = primer_panel } end |