print "INFO\t---\t-\t--> Please, enter: fill_volume, from_speed, from_port, to_speed, to_port separated by single space [integers]: ", v = sys.stdin.readline().strip().split(' ') # use stdin explicitly and remove trailing newline character biochem.move_reagent(int(v[0]), int(v[1]), int(v[2]), int(v[3]), int(v[4])) elif method == 'move_reagent_slow': print "INFO\t---\t-\t--> Please, enter: fill_volume, from_speed, from_port, to_speed, to_port separated by single space [integers]: ", v = sys.stdin.readline().strip().split(' ') # use stdin explicitly and remove trailing newline character biochem.move_reagent_slow(int(v[0]), int(v[1]), int(v[2]), int(v[3]), int(v[4])) elif method == 'nonamer_prep': print "INFO\t---\t-\t--> Please, enter cycle name [string]: ", biochem.cycle = str(sys.stdin.readline().strip())[0:3] # use stdin explicitly and remove trailing newline character biochem.nonamer_prep() elif method == 'prime_flowcells': biochem.prime_flowcells() elif method == 'prime_fluidics_system': biochem.prime_fluidics_system() elif method == 'prime_ligase': biochem.prime_ligase() elif method == 'prime_reagent_block': biochem.prime_reagent_block() elif method == 'prime_rotary_valve1': biochem.prime_rotary_valve1() elif method == 'prime_rotary_valve2': biochem.prime_rotary_valve2()