Skip to content

Commit

Permalink
Merge branch 'release/0.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlere committed Jun 17, 2022
2 parents 32763ba + ce21666 commit f45422e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion postprocessing_variant_calls/vardict/vardict_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, inputVcf, outputDir, sampleName, minQual, totalDepth,
# vcf output name
self.vcf_out = self.out_name()
self.txt_out = self.vcf_out + "_STDfilter.txt"
self.vcf_complex_out = self.vcf_out + "_complex_STDfilter.vcf"
self.vcf_complex_out = self.vcf_out + "_STDfilter_complex.vcf"
self.vcf_out = self.vcf_out + "_STDfilter.vcf"
# vcf reader
self.vcf_reader = self.set_reader()
Expand Down
8 changes: 4 additions & 4 deletions tests/test_vardict.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def test_single(call):
result.stdout
assert result.exit_code == 0
assert '' in result.stdout
assert os.path.exists("tests/data/vardict/single/single_test_complex_STDfilter.vcf") == True
assert os.path.exists("tests/data/vardict/single/single_test_STDfilter_complex.vcf") == True
assert os.path.exists("tests/data/vardict/single/single_test_STDfilter.vcf") == True
assert os.path.exists("tests/data/vardict/single/single_test_STDfilter.txt") == True
os.remove("tests/data/vardict/single/single_test_complex_STDfilter.vcf")
os.remove("tests/data/vardict/single/single_test_STDfilter_complex.vcf")
os.remove("tests/data/vardict/single/single_test_STDfilter.vcf")
os.remove("tests/data/vardict/single/single_test_STDfilter.txt")

Expand All @@ -33,10 +33,10 @@ def test_two(call):
result = runner.invoke(app, call)
assert result.exit_code == 0
assert '' in result.stdout
assert os.path.exists("tests/data/vardict/two/case_control_test_complex_STDfilter.vcf") == True
assert os.path.exists("tests/data/vardict/two/case_control_test_STDfilter_complex.vcf") == True
assert os.path.exists("tests/data/vardict/two/case_control_test_STDfilter.vcf") == True
assert os.path.exists("tests/data/vardict/two/case_control_test_STDfilter.txt") == True
os.remove("tests/data/vardict/two/case_control_test_complex_STDfilter.vcf")
os.remove("tests/data/vardict/two/case_control_test_STDfilter_complex.vcf")
os.remove("tests/data/vardict/two/case_control_test_STDfilter.vcf")
os.remove("tests/data/vardict/two/case_control_test_STDfilter.txt")

Expand Down

0 comments on commit f45422e

Please sign in to comment.