biochem.clean_flowcell(int(v[0]), int(v[1])) elif method == 'clean_flowcell_and_syringe': print "INFO\t *\t--> Please, enter the number of cleaning iterations [integer]: ", iteration = int(sys.stdin.readline().strip()) # use stdin explicitly and remove trailing newline character biochem.clean_flowcell_and_syringe(iteration) elif method == 'clean_fluidics_system': print "INFO\t *\t--> Please, enter the number of cleaning iterations [integer]: ", iteration = int(sys.stdin.readline().strip()) # use stdin explicitly and remove trailing newline character biochem.clean_fluidics_system(iteration) elif method == 'clean_reagent_path': print "INFO\t *\t--> Please, enter: reagent and iteration numbers separated by single space [integers]: ", v = sys.stdin.readline().strip().split(' ') # use stdin explicitly and remove trailing newline character biochem.clean_reagent_path(int(v[0]), int(v[1])) elif method == 'clean_syringe_pump': print "INFO\t *\t--> Please, enter the number of cleaning iterations [integer]: ", iteration = int(sys.stdin.readline().strip()) # use stdin explicitly and remove trailing newline character biochem.clean_syringe_pump(iteration) elif method == 'clear_bubbles': print "INFO\t *\t--> Please, enter the number of bubble clearing iterations [integer]: ", iteration = int(sys.stdin.readline().strip()) # use stdin explicitly and remove trailing newline character biochem.clear_bubbles(iteration) elif method == 'cleavage': biochem.cleavage() elif method == 'collect_sample':