Class: LabwareCreators::StampedPlate

Inherits:
Base
  • Object
show all
Includes:
LabwareCreators::SupportParent::PlateOnly
Defined in:
app/models/labware_creators/stamped_plate.rb

Overview

Simply creates a new plate of the specified purpose and transfers material across in a direct stamp. (ie. The location of a sample on the source plate is the same as the location on the destination plate.)

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from LabwareCreators::Base

Instance Method Details

#filters=(filter_parameters) ⇒ Object



21
22
23
# File 'app/models/labware_creators/stamped_plate.rb', line 21

def filters=(filter_parameters)
  well_filter.assign_attributes(filter_parameters)
end

#labware_wellsObject



25
26
27
# File 'app/models/labware_creators/stamped_plate.rb', line 25

def labware_wells
  parent.wells
end

#parentObject



17
18
19
# File 'app/models/labware_creators/stamped_plate.rb', line 17

def parent
  @parent ||= Sequencescape::Api::V2::Plate.find_by(uuid: parent_uuid)
end