Class: Utility::PcrCyclesForDuplexSeqCsvFileUploadConfig

Inherits:
PcrCyclesCsvFileUploadConfigBase show all
Defined in:
app/models/utility/pcr_cycles_for_duplex_seq_csv_file_upload_config.rb

Overview

This version is for the Duplex Seq pipeline.

Constant Summary collapse

PIPELINE_SPECIFIC_CONFIG_VARIABLES =
{ sub_pool_min: 'to_i', sub_pool_max: 'to_i' }.freeze

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Utility::PcrCyclesCsvFileUploadConfigBase

Instance Method Details

#initialize_pipeline_specific_methodsObject



8
9
10
# File 'app/models/utility/pcr_cycles_for_duplex_seq_csv_file_upload_config.rb', line 8

def initialize_pipeline_specific_methods
  PIPELINE_SPECIFIC_CONFIG_VARIABLES.each { |k, v| create_method(k) { @csv_file_config[k].send(v) } }
end

#submit_for_sequencing_valid_valuesObject



12
13
14
# File 'app/models/utility/pcr_cycles_for_duplex_seq_csv_file_upload_config.rb', line 12

def submit_for_sequencing_valid_values
  @csv_file_config.fetch(:submit_for_sequencing_valid_values, []).map
end