diagnostic_rt_qpcr/operation_types/aliquot_primer_probe__taqpath_/protocol.rb
# Create and save multiple output Items per operation
# @param operations [OperationList] List of operations
Create and save multiple output Items per operation
Create and save multiple output Items per operation
def save_output(operations)
    operations.make
    operations.each do |op|
      op.output("Primer Set").item.associate :volume, default_job_params[:aliquot_vol]
      output_primer = op.output("Primer Set").sample
      for i in 0..13 
        new_aliquot = output_primer.make_item("Primer Mix Aliquot")
        new_aliquot.associate :volume, default_job_params[:aliquot_vol]
        link_output_item(operation: op, sample: output_primer, item: new_aliquot)
      end
    end
  end
def save_output ( operations ) operations . make operations . each do | op | op . output ( "Primer Set" ) . item . associate :volume , default_job_params [ :aliquot_vol ] output_primer = op . output ( "Primer Set" ) . sample for i in 0 .. 13 new_aliquot = output_primer . make_item ( "Primer Mix Aliquot" ) new_aliquot . associate :volume , default_job_params [ :aliquot_vol ] link_output_item ( operation : op , sample : output_primer , item : new_aliquot ) end end end
Create and save multiple output Items per operation
Create and save multiple output Items per operation
# makes 14 additional aliquots per op
operations
List of operations
List of operations