diagnostic_rt_qpcr/operation_types/aliquot_primer_probe__taqpath_/protocol.rb
# Manually link the item to the operation as an output
# @param op [Operation] the operation that creates the items
# @param sample [Sample] the sample of the item
# @param item [Item] the item that is created
Manually link the item to the operation as an output
Manually link the item to the operation as an output
def link_output_item(operation:, sample:, item:)
    fv = FieldValue.new(
      name: "Primer Set",
      child_item_id: item.id,
      child_sample_id: sample.id,
      role: "output",
      parent_class: "Operation",
      parent_id: operation.id,
      field_type_id: operation.output("Primer Set").field_type.id
    )
    fv.save
  end
def link_output_item ( operation : , sample : , item : ) fv = FieldValue . new ( name : "Primer Set" , child_item_id : item . id , child_sample_id : sample . id , role : "output" , parent_class : "Operation" , parent_id : operation . id , field_type_id : operation . output ( "Primer Set" ) . field_type . id ) fv . save end
Manually link the item to the operation as an output
Manually link the item to the operation as an output
operation
<not_specific>
sample
the sample of the item
the sample of the item
item
the item that is created
the item that is created
op
<not_specific>
the operation that creates the items
the operation that creates the items