sys.stdout.flush()
t0 = time.time()
targets_t = []
for sample in target_wigs:
wig_file = target_wigs[sample]
print(" %s" % wig_file)
sys.stdout.flush()
After Change
parser = OptionParser(usage)
parser.add_option("-g", dest="gaps_file", help="Genome assebmly gaps BED [Default: %default]")
parser.add_option("-m", dest="params_file", help="Model parameters")
parser.add_option("-p", dest="processes", default=1, type="int", help="Number parallel processes to load data [Default: %default]")
parser.add_option("-s", dest="sample", type="int", default=1000, help="Genomic positions to sample for training data [Default: %default]")
parser.add_option("-v", dest="valid_pct", type="float", default=0.1, help="Proportion of the data for validation [Default: %default]")
(options,args) = parser.parse_args()