Class: Lane::Labware

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

Overview

Temporary placeholder class until we introduce Flowcell proper

Instance Attribute Summary

Attributes included from AssetRefactor::Labware::Methods

#storage_location_service

Instance Method Summary collapse

Methods included from AssetRefactor::Labware::Methods

#labware, #scanned_in_date, #storage_location

Methods inherited from Labware

#display_name, #generate_name

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, #role, #source_plate, #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 Warren::BroadcastMessages

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

Instance Method Details

#human_barcodeObject


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

def human_barcode
  source_request.try(:flowcell_barcode)
end

#labwhere_locationObject


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

def labwhere_location
  nil
end