Module: CompoundSampleHelper
- Included in:
- CompoundAliquot, ExportPoolXpToTractionJob
- Defined in:
- app/helpers/compound_sample_helper.rb
Instance Method Summary collapse
Instance Method Details
#find_or_create_compound_sample(study, component_samples) ⇒ Object
4 5 6 7 |
# File 'app/helpers/compound_sample_helper.rb', line 4 def find_or_create_compound_sample(study, component_samples) # Check if a compound sample already exists with the component samples find_compound_sample_for_component_samples(component_samples) || create_compound_sample(study, component_samples) end |