Skip to content

Commit a0b28aa

Browse files
committed
Better PEP8 conformance.
1 parent 73c38a0 commit a0b28aa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

TCSfilter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919

2020
def ListParser(infile_name, minqual, mincov):
21-
'''Discards every line in the TCS file with a coverage below mincov and
22-
a qual below minqual'''
21+
"""Discard every line in the TCS file with a coverage below mincov and
22+
a qual below minqual."""
2323
TCS = open(infile_name, 'r')
2424
if TCS.readline().startswith("#TCS") is False:
2525
quit("Invalid input file. Use a TCS file as input.")
@@ -51,7 +51,7 @@ def ListParser(infile_name, minqual, mincov):
5151

5252

5353
def ListWriter(infile_name, outfile_name, passed):
54-
'''Write the selected list into a file.'''
54+
"""Write the selected list into a file."""
5555
outfile = open(outfile_name, 'w')
5656
outfile.write("#TCS V1.0\n")
5757
outfile.write("#\n")
@@ -64,7 +64,7 @@ def ListWriter(infile_name, outfile_name, passed):
6464

6565

6666
def RunModule(infile_name, outfile_name, minqual, mincov):
67-
'''Run the module.'''
67+
"""Run the module."""
6868
ShortList = ListParser(infile_name, minqual, mincov)
6969
ListWriter(infile_name, outfile_name, ShortList)
7070

0 commit comments

Comments
 (0)