Class: Receptacle::Qc

Inherits:
Receptacle show all
Defined in:
app/models/receptacle/qc.rb

Overview

A QC receptacle is generated for a QcTube Unlike a standard Receptacle it does not remove aliquots in response to retrospective failures. (That is, when a user forgets to fail a well initially and only remembers to do so after child plates have been created) This is because while in most cases this indicates a mistake, in the case of QC tubes the failures are being made on the basis of information provided by the QC tube.

Constant Summary

Constants inherited from Receptacle

QC_STATE_ALIASES

Constants included from Transfer::State

Transfer::State::ALL_STATES

Instance Method Summary collapse

Methods inherited from Receptacle

#absolute_position_name, #any_barcode_matching?, #api_asset_type, #assign_tag2, #attach_tag, #been_through_qc?, #compatible_qc_state, #created_with_request_options, #details, #friendly_name, #labware_comment_count, #latest_stock_metrics, #legacy_asset_type, #library_information, #library_name, #library_types, #name, #outer_request, #primary_aliquot_if_unique, #related_studies, #role, #set_as_library, #set_qc_state, #tag_range, #total_comment_count, #update_aliquot_quality, #update_from_qc

Methods included from StudyReport::AssetDetails

#qc_report

Methods included from Aliquot::Remover

#on_downstream_aliquots, #remove_downstream_aliquots, #remove_matching_aliquots

Methods included from Transfer::State

#default_state, #state, #state_from, state_helper

Methods included from Commentable

#after_comment_addition

Methods included from Uuid::Uuidable

included, #unsaved_uuid!, #uuid

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

#process_aliquots(_aliquots_to_remove) ⇒ Object


10
11
12
13
# File 'app/models/receptacle/qc.rb', line 10

def process_aliquots(_aliquots_to_remove)
  # Do not remove downstream aliquots
  nil
end