Skip to content
Snippets Groups Projects
Commit 965d4e7e authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix if dry run done before run

parent ee8cb8b6
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,9 @@ batches, chromosomes, variant_types = get_batches(WDIR)
if len(batches) == 1:
b_filtered = os.path.join(WDIR, "batch001", "filtered")
f_filtered = os.path.join(WDIR, "filtered")
shutil.move(b_filtered, f_filtered)
os.symlink(f_filtered, b_filtered)
if not os.path.exists(f_filtered):
shutil.move(b_filtered, f_filtered)
os.symlink(f_filtered, b_filtered)
include: "tools/threads.snk"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment