Skip to content

Commit d149419

Browse files
committed
remove temp files
1 parent f7583b4 commit d149419

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

svdb/__main__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import argparse
1+
import argparse, os
22

33
from . import build_module, export_module, merge_vcf_module, query_module
44

@@ -26,8 +26,9 @@ def make_query_calls (args, queries, keyword):
2626
args.prefix = orig_prefix + "_" + str(ind)
2727
else:
2828
args.prefix = orig_prefix
29-
print(args)
30-
# query_module.main(args)
29+
query_module.main(args)
30+
if ind > 0:
31+
os.remove(args.query_vcf)
3132
args.query_vcf = args.prefix + "_query.vcf"
3233
else:
3334
print("please ensure that both count and frequency tags are specified for all samples")

0 commit comments

Comments
 (0)