libraries/FlowCytometryHelper.rb
# Guides technician to transfer the ALLOWABLE_FC_SAMPLETYPES wells to a flow cytometer valid container
#
# @effect Guides technician through transfer of cultures, then sets the collection to the output FieldValue
Guides technician to transfer the ALLOWABLE_FC_SAMPLETYPES wells to a flow cytometer valid container
Guides technician to transfer the ALLOWABLE_FC_SAMPLETYPES wells to a flow cytometer valid container
def tech_transfer_to_valid_container(instrument:, output_fieldValue:)
    from_collection = collection_from(instrument.experimental_item); to_collection = collection_from(instrument.measurement_item)
    copy_sample_matrix(from_collection: from_collection, to_collection: to_collection)
    part_provenance_transfer(from_collection: from_collection, to_collection: to_collection, process_name: 'transfer')
    qty, units = get_container_working_volume(container=to_collection)
    display_coordinates = alpha_coordinates_96
    show do
      title "Transfer to Valid Container"
      separator
      note "Gather empty #{to_collection.object_type.name} #{to_collection}"
      note "Follow the table below to transfer only the shaded wells:"
      note "Transfer 200ul per well"
      bullet "<b>From</b> #{from_collection.object_type.name} #{from_collection}"
      bullet "<b>To</b> #{to_collection.object_type.name} #{to_collection}"
      table highlight_alpha_non_empty(to_collection) {|r, c| "#{display_coordinates[r][c]}" }
    end
    output_fieldValue.set(collection: to_collection)
  end
def tech_transfer_to_valid_container ( instrument : , output_fieldValue : ) from_collection = collection_from ( instrument . experimental_item ) ; to_collection = collection_from ( instrument . measurement_item ) copy_sample_matrix ( from_collection : from_collection , to_collection : to_collection ) part_provenance_transfer ( from_collection : from_collection , to_collection : to_collection , process_name : 'transfer' ) qty , units = get_container_working_volume ( container = to_collection ) display_coordinates = alpha_coordinates_96 show do title "Transfer to Valid Container" separator note "Gather empty #{to_collection.object_type.name} #{to_collection}" note "Follow the table below to transfer only the shaded wells:" note "Transfer 200ul per well" bullet "<b>From</b> #{from_collection.object_type.name} #{from_collection}" bullet "<b>To</b> #{to_collection.object_type.name} #{to_collection}" table highlight_alpha_non_empty ( to_collection ) { | r , c | "#{display_coordinates[r][c]}" } end output_fieldValue . set ( collection : to_collection ) end
Guides technician to transfer the ALLOWABLE_FC_SAMPLETYPES wells to a flow cytometer valid container
Guides technician to transfer the ALLOWABLE_FC_SAMPLETYPES wells to a flow cytometer valid container
instrument
output_fieldValue
effect
Guides technician through transfer of cultures, then sets the collection to the output FieldValue
Guides technician through transfer of cultures then sets the collection to the output FieldValue