Class: SequencescapeExcel::SpecialisedField::ChromiumTagWell

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
app/sequencescape_excel/sequencescape_excel/specialised_field/chromium_tag_well.rb

Overview

ChromiumTagWell

Constant Summary collapse

TAGS_PER_WELL =
4

Instance Attribute Summary collapse

Attributes included from Base

#sample_manifest_asset, #value

Instance Method Summary collapse

Instance Attribute Details

#sf_tag_groupObject

Returns the value of attribute sf_tag_group


12
13
14
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/chromium_tag_well.rb', line 12

def sf_tag_group
  @sf_tag_group
end

Instance Method Details


23
24
25
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/chromium_tag_well.rb', line 23

def link(other_fields)
  self.sf_tag_group = other_fields[SequencescapeExcel::SpecialisedField::ChromiumTagGroup]
end

#update(_attributes = {}) ⇒ Object


17
18
19
20
21
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/chromium_tag_well.rb', line 17

def update(_attributes = {})
  return unless valid?

  tags.each { |tag| tag.multitag!(asset) }
end