Class: LabwareCreators::FinalTubeFromPlate

Inherits:
Base
  • Object
show all
Includes:
SupportParent::PlateReadyForPoolingOnly
Defined in:
app/models/labware_creators/final_tube_from_plate.rb

Overview

The tubes are also passed automatically. This behaviour is a time-saving (for the users) measure based on limitations of the existing pipeline, and may be removed in future. Essentially, as used currently, the tubes are ACTUALLY part of the previous plate, so are already filled by this stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from LabwareCreators::Base

Instance Attribute Details

#tube_transferObject (readonly)

Returns the value of attribute tube_transfer.



19
20
21
# File 'app/models/labware_creators/final_tube_from_plate.rb', line 19

def tube_transfer
  @tube_transfer
end

Instance Method Details

#anchorObject



37
38
39
# File 'app/models/labware_creators/final_tube_from_plate.rb', line 37

def anchor
  'children_tab'
end

#create_labware!Object



23
24
25
26
# File 'app/models/labware_creators/final_tube_from_plate.rb', line 23

def create_labware!
  transfer_into_existing_tubes!
  pass_tubes!
end

#parentObject Originally defined in module SupportParent::PlateReadyForPoolingOnly

#redirection_targetObject

We may create multiple tubes, so cant redirect onto any particular one. Redirecting back to the parent is a little grim, so we’ll need to come up with a better solution. 1) Redirect to the transfer/creation and list the tubes that way 2) Once tube racks are implemented, we can redirect there.



33
34
35
# File 'app/models/labware_creators/final_tube_from_plate.rb', line 33

def redirection_target
  parent
end