Skip to content

Commit

Permalink
Refactor active_pipelines_for method in PipelineList
Browse files Browse the repository at this point in the history
  • Loading branch information
dasunpubudumal committed Oct 24, 2024
1 parent 458297c commit e675ff3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
1 change: 0 additions & 1 deletion app/models/pipeline_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def initialize(list = {})
# plate meet the filter criteria.
# If a pipeline has no filter criteria, it will also be considered 'active' for the labware.
def active_pipelines_for(labware)
binding.pry if labware.purpose.name == "LBB Lib PCR-XP"
@list.select { |pipeline| pipeline.active_for?(labware) }
end

Expand Down
34 changes: 1 addition & 33 deletions config/pipelines/bespoke_pcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,44 +87,12 @@ Bespoke PCR MX:
filters:
request_type_key:
- limber_multiplexing
library_type:
- ChIP-Seq Auto
- Chromium single cell HTO
- Chromium single cell surface protein
- Chromium single cell surface protein HT
- Chromium Visium
- Chromium Visium FFPE
- Manual Chromium single cell 3 prime v3
- Manual Chromium single cell 3 prime HT v3
- Manual Chromium single cell 5 prime v2
- Manual Chromium single cell 5 prime HT v2
- emSEQ
- Hi-C - Arima v1
- Hi-C - Arima v2
- Hi-C - Dovetail
- Hi-C - OmniC
- Hi-C - Qiagen
- Haplotagging
- Haplotagging
- Manual Standard WGS (Plate)
- Ribozero RNA depletion
- Ribozero RNA-seq (Bacterial)
- Ribozero RNA-seq (HMR)
- RNA-seq dUTP eukaryotic
- RNA-seq dUTP prokaryotic
- Small RNA (miRNA)
- Standard
- TraDIS
- TruSeq mRNA (RNA Seq)
- SGE Library v0.2
relationships:
LBB Lib PCR-XP: LBB Lib Pool Stock
LBB Lib Pool Stock: LB Lib Pool Norm
Bespoke PCR MX HiC:
filters:
request_type_key: limber_multiplexing
library_type:
- Hi-C
request_type_key: limber_multiplexing_hic
relationships:
LBB Lib PCR-XP: LBB Lib PCR-XP Norm
LBB Lib PCR-XP Norm: LBB Lib Pool Stock
Expand Down

0 comments on commit e675ff3

Please sign in to comment.