Fix the fix

This commit is contained in:
Nicola Soranzo
2016-06-26 10:16:51 -04:00
parent cd13423953
commit 693e18cdc2
@@ -133,7 +133,7 @@ if __name__ == "__main__":
temp_file = tempfile.NamedTemporaryFile(mode="r")
environ['LC_ALL'] = 'POSIX'
commandline = "sort -f -n -k %d -k %d -k %d -o %s %s" % (chr_col_1 + 1, start_col_1 + 1, end_col_1 + 1, temp_file.name, in_fname)
errorcode, stdout = subprocess.check_call(commandline, shell=True)
subprocess.check_call(commandline, shell=True)
coverage = CoverageWriter( out_stream=open(out_fname, "a"),
chromCol=chr_col_2, positionCol=position_col_2,