Commit 3b6e9774 authored by Luis Pedro Coelho's avatar Luis Pedro Coelho

MIN Continue on bad cmdline args

parent ebe1b41d
...@@ -51,10 +51,7 @@ def run_sample(sample, command): ...@@ -51,10 +51,7 @@ def run_sample(sample, command):
def compute_opt(args): def compute_opt(args):
out_dir = path.join(args.project_dir, 'cov') out_dir = path.join(args.project_dir, 'cov')
try: mkdir_p(out_dir)
os.makedirs(out_dir)
except:
pass
p = multiprocessing.Pool(args.threads, init_worker) p = multiprocessing.Pool(args.threads, init_worker)
results = [] results = []
for line in open(args.all_samples): for line in open(args.all_samples):
...@@ -124,7 +121,7 @@ def split_opt(args): ...@@ -124,7 +121,7 @@ def split_opt(args):
if args.n_splits > 100: if args.n_splits > 100:
stderr.write("Maximum number of splits is 100.\n") stderr.write("Maximum number of splits is 100.\n")
exit(1) args.n_splits = 100
older_files = glob(args.project_dir + '/bestsplits/*') older_files = glob(args.project_dir + '/bestsplits/*')
if older_files: if older_files:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment