libraries/FlowCytometrySoftware.rb
# Guides technician through measuring the diluted calibration beads
Guides technician through measuring the diluted calibration beads
Guides technician through measuring the diluted calibration beads
def read_calibration(instrument: instrument)
    go_to_computer(instrument)
    tube_rack = get_tube_rack
    show do
      title "Load #{instrument.measurement_item.object_type.name} #{instrument.measurement_item}"
      note "#go to FlowCytometrySoftware library Attune module to customize this step"
      separator
      note "Click <b>Eject Plate</b>"
      check "Open tube #{instrument.measurement_item} then, place the tube into the first well of the #{instrument.software.fetch(:plate_type_hash)[instrument.measurement_item.object_type.name.to_sym]}."  
      bullet "Well A1 should be by the red sticker in the top left corner."
      table highlight_alpha_rc(tube_rack, [[0,0]]) {|r,c| "#"}
      check "Finally, load the #{instrument.measurement_item.object_type.name} and continue to the next step."
    end
    tube_rack.mark_as_deleted 
    show do 
      title "Taking Measurements"
      note "#go to FlowCytometrySoftware library Attune module to customize this step"
      separator
      note "Click <b>OPEN RUN DISPLAY</b>"
      image instrument.software.fetch(:images).fetch(:read_plate)
      note "Next, click <b>AUTORUN</b>"
      note "Contiue on to the next step while #{instrument.type} #{instrument.instrument_type} is running..."
    end
    instrument.measurement_item.location = instrument.type.to_s
    timepoint = Time.now
    return timepoint
  end
def read_calibration ( instrument : instrument ) go_to_computer ( instrument ) tube_rack = get_tube_rack show do title "Load #{instrument.measurement_item.object_type.name} #{instrument.measurement_item}" note "#go to FlowCytometrySoftware library Attune module to customize this step" separator note "Click <b>Eject Plate</b>" check "Open tube #{instrument.measurement_item} then, place the tube into the first well of the #{instrument.software.fetch(:plate_type_hash)[instrument.measurement_item.object_type.name.to_sym]}." bullet "Well A1 should be by the red sticker in the top left corner." table highlight_alpha_rc ( tube_rack , [ [ 0 , 0 ] ] ) { | r , c | "#" } check "Finally, load the #{instrument.measurement_item.object_type.name} and continue to the next step." end tube_rack . mark_as_deleted show do title "Taking Measurements" note "#go to FlowCytometrySoftware library Attune module to customize this step" separator note "Click <b>OPEN RUN DISPLAY</b>" image instrument . software . fetch ( :images ) . fetch ( :read_plate ) note "Next, click <b>AUTORUN</b>" note "Contiue on to the next step while #{instrument.type} #{instrument.instrument_type} is running..." end instrument . measurement_item . location = instrument . type . to_s timepoint = Time . now return timepoint end
Guides technician through measuring the diluted calibration beads
Guides technician through measuring the diluted calibration beads
# Collection created for display, then deleted
instrument