elif method == 'init': biochem.init() elif method == 'move_reagent': print "INFO\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--> 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 == 'pre_washing': biochem.pre_washing() elif method == 'prime_flowcell': biochem.prime_flowcell() elif method == 'prime_fluidics_system': biochem.prime_fluidics_system() elif method == 'prime_reagent_paths': biochem.prime_reagent_paths() elif method == 'prime_syringe_pump': biochem.prime_syringe_pump() elif method == 'primer_walking': biochem.primer_walking()