Skip to content

Commit

Permalink
add missing arguments for template vcf name
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Apr 30, 2024
1 parent 5950502 commit 79fb20c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_create_spiked_vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,12 @@ def test_construct_variant_structural_variant(self):

def test_construct_vcf_records_single_variant(self):
self.assertEqual(
self.vcf_spiker.construct_vcf_records()[40],
self.vcf_spiker.construct_vcf_records("template.vcf")[40],
"chr1\t886190\t.\tG\tA\t100\tPASS\t.\t" "GT\t0/1\n",
)

def test_construct_vcf_records_multiple_variants(self):
updated_records = self.vcf_spiker_multiple_variants.construct_vcf_records()
updated_records = self.vcf_spiker_multiple_variants.construct_vcf_records("template.vcf")
self.assertEqual(
updated_records[40],
"chr1\t886190\t.\tG\tA\t100\tPASS\t.\t" "GT\t0/1\n",
Expand All @@ -352,7 +352,7 @@ def test_construct_vcf_records_multiple_variants(self):
)

def test_construct_vcf_records_new_variant_pos(self):
updated_records = self.vcf_spiker_new_variant_chrom.construct_vcf_records()
updated_records = self.vcf_spiker_new_variant_chrom.construct_vcf_records("template.vcf")
self.assertEqual(
updated_records[48],
"chrX\t123450\t.\tG\tA\t100\tPASS\t.\tGT\t0/1\n",
Expand Down

0 comments on commit 79fb20c

Please sign in to comment.