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, find_by_barcode, find_from_any_barcode, #generate_name, #labware, labwhere_locations, #parent, #role, #scanned_in_date, #source_plate, #source_plates, #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

#add_parent, #ancestor_of_purpose, #asset_type_for_request_types, #assign_relationships, #barcode_number, #compatible_purposes, #contained_samples, #details, #external_identifier, #generate_barcode, #get_qc_result_value_for, #has_stock_asset?, #label, #label=, #original_stock_plates, #prefix, #printable?, #printable_target, #register_stock!, #request_types, #spiked_in_buffer, #summary_hash, #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

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#human_barcodeObject


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

def human_barcode
  source_request.try(:flowcell_barcode)
end

#labwhere_locationObject


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

def labwhere_location
  nil
end