Skip to content

Commit e7e018b

Browse files
linting fixes
1 parent bc1cef4 commit e7e018b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tests/io/test_writer.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_save_snps(self):
4747
self.run_parsing_tests(
4848
"output/generic_GRCh37.csv",
4949
"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
5151
)
5252

5353
def test_save_snps_tsv(self):
@@ -57,9 +57,9 @@ def test_save_snps_tsv(self):
5757
"output/generic.tsv",
5858
)
5959
self.run_parsing_tests(
60-
"output/generic.tsv",
60+
"output/generic.tsv",
6161
"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
6363
)
6464

6565
def test_save_snps_vcf(self):
@@ -112,16 +112,17 @@ def test_save_snps_csv_phased(self):
112112
# save phased data to CSV
113113
self.assertEqual(os.path.relpath(s.save_snps()), "output/vcf_GRCh37.csv")
114114
# read saved CSV
115-
self.run_parsing_tests_vcf("output/vcf_GRCh37.csv",
115+
self.run_parsing_tests_vcf(
116+
"output/vcf_GRCh37.csv",
116117
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
118119
)
119120

120121
def test_save_snps_specify_file(self):
121122
s = SNPs("tests/input/generic.csv")
122123
self.assertEqual(os.path.relpath(s.save_snps("snps.csv")), "output/snps.csv")
123124
self.run_parsing_tests(
124-
"output/snps.csv",
125+
"output/snps.csv",
125126
"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
127128
)

0 commit comments

Comments
 (0)