示例#1
0
        biochem.clean_V1_to_syringe()

    elif method is 'clean_V2_to_syringe':
        biochem.clean_V2_to_syringe()

    elif method is 'clean_flowcell_and_syringe':
        biochem.clean_flowcell_and_syringe()

    elif method is 'cycle_ligation':
        biochem.cycle_ligation()

    elif method is 'draw_air_to_mixer':
        print "\n***\t*\t--> Please, enter air gap size [integer]: ",
        gap_size = int(sys.stdin.readline().strip(
        ))  # use stdin explicitly and remove trailing new-line character
        biochem.draw_air_to_mixer(gap_size)

    elif method is 'draw_air_to_syringe':
        biochem.draw_air_to_syringe()

    elif method is 'draw_air_to_valve':
        print "\n***\t*\t--> Please, enter valve name air to be drawn (V1, V2, V3, V5) [string]: ",
        valve = str(sys.stdin.readline().strip(
        ))  # use stdin explicitly and remove trailing new-line character
        biochem.draw_air_to_valve(valve)

    elif method is 'draw_into_flowcell':
        print "\n***\t*\t--> Please, enter reagent to use (Wash 1 / dH2O) [string]: ",
        reagent = str(sys.stdin.readline().strip(
        ))  # use stdin explicitly and remove trailing new-line character
示例#2
0
    if method is 'clean_V1_to_syringe':
        biochem.clean_V1_to_syringe()

    elif method is 'clean_V2_to_syringe':
        biochem.clean_V2_to_syringe()

    elif method is 'clean_flowcell_and_syringe':
        biochem.clean_flowcell_and_syringe()

    elif method is 'cycle_ligation':
        biochem.cycle_ligation()

    elif method is 'draw_air_to_mixer':
        print "\n***\t*\t--> Please, enter air gap size [integer]: ",
        gap_size = int(sys.stdin.readline().strip())  # use stdin explicitly and remove trailing new-line character
        biochem.draw_air_to_mixer(gap_size)

    elif method is 'draw_air_to_syringe':
        biochem.draw_air_to_syringe()

    elif method is 'draw_air_to_valve':
        print "\n***\t*\t--> Please, enter valve name air to be drawn (V1, V2, V3, V5) [string]: ",
        valve = str(sys.stdin.readline().strip())  # use stdin explicitly and remove trailing new-line character
        biochem.draw_air_to_valve(valve)

    elif method is 'draw_into_flowcell':
        print "\n***\t*\t--> Please, enter reagent to use (Wash 1 / dH2O) [string]: ",
        reagent = str(sys.stdin.readline().strip())  # use stdin explicitly and remove trailing new-line character

        if reagent is 'Wash 1':
            port = 2