Example #1
0
        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
        else:
            port = 8

        print "\n***\t*\t--> Please, enter volume to get into flowcell [integer]: ",
        draw_volume = int(sys.stdin.readline().strip())

        biochem.draw_into_flowcell(draw_volume, port)

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

    elif method is 'fill_with_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.fill_with_air_to_valve(valve)

    elif method is 'flush_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
        else:
Example #2
0
    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
        else:
            port = 8 

        print "\n***\t*\t--> Please, enter volume to get into flowcell [integer]: ",
        draw_volume = int(sys.stdin.readline().strip())

        biochem.draw_into_flowcell(draw_volume, port)

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

    elif method is 'fill_with_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.fill_with_air_to_valve(valve)

    elif method is 'flush_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
        else:
            port = 8