Class: Search::FindOutstandingIlluminaBPrePcrPlates
- Inherits:
-
Search
- Object
- ActiveRecord::Base
- ApplicationRecord
- Search
- Search::FindOutstandingIlluminaBPrePcrPlates
- Defined in:
- app/models/search/find_outstanding_illumina_b_pre_pcr_plates.rb
Overview
Pre_PCR plates will remain ‘started; until the run is complete. Handled finding of plates for the defunct Illumina-B pipelines Can be deprecated.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Uuid::Uuidable
included, #unsaved_uuid!, #uuid
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
Class Method Details
.pre_pcr_plate_purpose ⇒ Object
10 11 12 |
# File 'app/models/search/find_outstanding_illumina_b_pre_pcr_plates.rb', line 10 def self.pre_pcr_plate_purpose PlatePurpose.find_by(name: 'ILB_STD_PREPCR') end |
Instance Method Details
#scope(_criteria) ⇒ Object
6 7 8 |
# File 'app/models/search/find_outstanding_illumina_b_pre_pcr_plates.rb', line 6 def scope(_criteria) Plate..include_plate_purpose.with_purpose(pre_pcr_plate_purpose).in_state(%w[pending started]) end |