Class: Robots::Bed::Splitting
- Defined in:
- app/models/robots/bed/splitting.rb
Overview
Splitting robots are specific to plates
Instance Attribute Summary collapse
-
#parents ⇒ Object
Returns the value of attribute parents.
Instance Method Summary collapse
Instance Attribute Details
#parents ⇒ Object
Returns the value of attribute parents.
6 7 8 |
# File 'app/models/robots/bed/splitting.rb', line 6 def parents @parents end |
Instance Method Details
#child_labware ⇒ Object
15 16 17 18 19 |
# File 'app/models/robots/bed/splitting.rb', line 15 def child_labware return [] if labware.nil? @child_labware ||= child_labware_of_plate end |
#find_all_labware ⇒ Object
8 9 10 11 12 13 |
# File 'app/models/robots/bed/splitting.rb', line 8 def find_all_labware Sequencescape::Api::V2::Plate.find_all( { barcode: @barcodes }, includes: [:purpose, { wells: :downstream_plates }] ) end |