@@ -47,7 +47,7 @@ def test_save_snps(self):
47
47
self .run_parsing_tests (
48
48
"output/generic_GRCh37.csv" ,
49
49
"generic" ,
50
- build_detected = True # build will be detected from comments because save_snps() writes the build into comments
50
+ build_detected = True , # build will be detected from comments because save_snps() writes the build into comments
51
51
)
52
52
53
53
def test_save_snps_tsv (self ):
@@ -57,9 +57,9 @@ def test_save_snps_tsv(self):
57
57
"output/generic.tsv" ,
58
58
)
59
59
self .run_parsing_tests (
60
- "output/generic.tsv" ,
60
+ "output/generic.tsv" ,
61
61
"generic" ,
62
- build_detected = True # build will be detected from comments because save_snps() writes the build into comments
62
+ build_detected = True , # build will be detected from comments because save_snps() writes the build into comments
63
63
)
64
64
65
65
def test_save_snps_vcf (self ):
@@ -112,16 +112,17 @@ def test_save_snps_csv_phased(self):
112
112
# save phased data to CSV
113
113
self .assertEqual (os .path .relpath (s .save_snps ()), "output/vcf_GRCh37.csv" )
114
114
# read saved CSV
115
- self .run_parsing_tests_vcf ("output/vcf_GRCh37.csv" ,
115
+ self .run_parsing_tests_vcf (
116
+ "output/vcf_GRCh37.csv" ,
116
117
phased = True ,
117
- build_detected = True # build will be detected from comments because save_snps() writes the build into comments
118
+ build_detected = True , # build will be detected from comments because save_snps() writes the build into comments
118
119
)
119
120
120
121
def test_save_snps_specify_file (self ):
121
122
s = SNPs ("tests/input/generic.csv" )
122
123
self .assertEqual (os .path .relpath (s .save_snps ("snps.csv" )), "output/snps.csv" )
123
124
self .run_parsing_tests (
124
- "output/snps.csv" ,
125
+ "output/snps.csv" ,
125
126
"generic" ,
126
- build_detected = True # build will be detected from comments because save_snps() writes the build into comments
127
+ build_detected = True , # build will be detected from comments because save_snps() writes the build into comments
127
128
)
0 commit comments