elif method == 'draw_air_to_syringe': biochem.draw_air_to_syringe() elif method == 'fill_reagent_path': print "INFO\t *\t--> Please, enter the number of reagent-to-syringe path and syringe speed [integers]: ", v = sys.stdin.readline().strip().split(' ') # use stdin explicitly and remove trailing newline character biochem.push_into_flowcell(int(v[0]), int(v[1])) elif method == 'finish': biochem.finish() elif method == 'fluor_incorporation': biochem.fluor_incorporation() elif method == 'incorporation': biochem.incorporation() elif method == 'incubate_reagent': print "INFO\t *\t--> Please, enter incubation time in minutes [integer]: ", time_m = int(sys.stdin.readline().strip()) # use stdin explicitly and remove trailing newline character biochem.incubate_reagent(time_m) 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':