Class: Lane::Labware

Inherits:
Labware show all
Includes:
SingleReceptacleLabware
Defined in:
app/models/lane/labware.rb

Overview

Temporary placeholder class until we introduce Flowcell proper

Instance Attribute Summary

Attributes inherited from Labware

#storage_location_service

Instance Method Summary collapse

Methods included from SingleReceptacleLabware

#receptacle

Methods inherited from Labware

#ancestor_of_purpose, #ancestors_of_purpose, #child, #display_name, #external_identifier, find_by_barcode, find_from_any_barcode, #generate_name, #labware, labwhere_locations, #parent, #received_date, #retention_instructions, #role, #scanned_in_date, #source_plate, #source_plates, #spiked_in_buffer, #state, #storage_location

Methods included from SharedBehaviour::Named

included

Methods included from AssetLink::Associations

included

Methods included from Uuid::Uuidable

included, #unsaved_uuid!, #uuid

Methods included from Commentable

#after_comment_addition

Methods inherited from Asset

#ancestor_of_purpose, #asset_type_for_request_types, #barcode_number, #compatible_purposes, #contained_samples, #details, #get_qc_result_value_for, #has_stock_asset?, #label, #label=, #original_stock_plates, #prefix, #printable?, #printable_target, #register_stock!, #request_types, #type, #update_from_qc

Methods included from EventfulRecord

#has_many_events, #has_many_lab_events, #has_one_event_with_family

Methods included from Event::PlateEvents

#event_date, #fluidigm_stamp_date, #gel_qc_date, #pico_date, #qc_started_date, #sequenom_stamp_date

Methods inherited from ApplicationRecord

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Instance Method Details

#generate_barcodeObject



24
25
26
# File 'app/models/lane/labware.rb', line 24

def generate_barcode
  # NOOP
end

#human_barcodeObject



20
21
22
# File 'app/models/lane/labware.rb', line 20

def human_barcode
  source_request.try(:flowcell_barcode)
end

#labwhere_locationObject



16
17
18
# File 'app/models/lane/labware.rb', line 16

def labwhere_location
  nil
end