Module: Sdb::SampleManifestsHelper

Defined in:
app/helpers/sdb/sample_manifests_helper.rb

Instance Method Summary collapse

Instance Method Details

#count_label_for(asset_type) ⇒ Object


11
12
13
# File 'app/helpers/sdb/sample_manifests_helper.rb', line 11

def count_label_for(asset_type)
  count_labels.fetch(asset_type, 'Count')
end

#count_labelsObject


2
3
4
5
6
7
8
9
# File 'app/helpers/sdb/sample_manifests_helper.rb', line 2

def count_labels
  {
    '1dtube' => 'Tubes required',
    'plate' => 'Plates required',
    'library' => 'Tubes required',
    'multiplexed_library' => 'Number of samples in library'
  }
end