Skip to content

Commit

Permalink
start tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jethror1 committed Sep 19, 2024
1 parent 8bf1c93 commit e1ed568
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Empty file added src/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion src/vcf_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,6 @@ def main(vcf_file, bed_file, outfile=None):

if os.path.exists('/home/dnanexus'):
dxpy.run()
else:
elif __name__ == "__main__":
main(vcf_file=sys.argv[1], bed_file=sys.argv[2])

11 changes: 11 additions & 0 deletions tests/test_vcf_qc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import os
import sys

sys.path.append(os.path.abspath(
os.path.join(os.path.realpath(__file__), '../../')
))

from src import vcf_qc



0 comments on commit e1ed568

Please sign in to comment.