Class: Robot::Verification::SourceDestBeds

Inherits:
Base
  • Object
show all
Defined in:
app/models/robot/verification/source_dest_beds.rb

Overview

This class of verification is for robots where the source plates share the same beds as control plates.

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#all_picks, #pick_number_to_expected_layout, #pick_numbers, #record_plate_types, #valid_submission?, #validate_barcode_params

Instance Method Details

#layout_data_object(data_object) ⇒ Object



6
7
8
9
10
# File 'app/models/robot/verification/source_dest_beds.rb', line 6

def layout_data_object(data_object)
  dest_barcode_index = barcode_to_plate_index(data_object['destination'])
  source_barcode_index = source_barcode_to_plate_index(data_object['destination']) # uses 'mapping' -> 'src_well'
  [dest_barcode_index, source_barcode_index]
end