Class: UatActions::GeneratePlateConcentrations
- Inherits:
-
UatActions
- Object
- UatActions
- UatActions::GeneratePlateConcentrations
- Defined in:
- app/uat_actions/uat_actions/generate_plate_concentrations.rb
Overview
Will generate concentrations for a given plate
Constant Summary
Constants inherited from UatActions
Class Method Summary collapse
-
.default ⇒ UatActions::GeneratePlateConcentrations
Returns a default copy of the UatAction which will be used to fill in the form, with values for the units, and min and max concentrations.
Instance Method Summary collapse
Methods inherited from UatActions
all, category, find, form_field, form_fields, #form_fields, grouped_and_sorted_uat_actions, id, inherited, permitted, #report, #save, to_partial_path, uat_actions
Class Method Details
.default ⇒ UatActions::GeneratePlateConcentrations
Returns a default copy of the UatAction which will be used to fill in the form, with values for the units, and min and max concentrations.
43 44 45 |
# File 'app/uat_actions/uat_actions/generate_plate_concentrations.rb', line 43 def self.default new(concentration_units: 'ng/ul', minimum_concentration: 0, maximum_concentration: 100) end |
Instance Method Details
#perform ⇒ Object
53 54 55 56 57 |
# File 'app/uat_actions/uat_actions/generate_plate_concentrations.rb', line 53 def perform qc_assay_results = construct_qc_assay report['number_well_concentrations_written'] = qc_assay_results[:num_wells_written] qc_assay_results[:qc_assay_success] end |