Increase min number of columns for pileup sniffing to 5

Fix #3001.
This commit is contained in:
Nicola Soranzo
2016-10-11 16:53:37 +01:00
parent 1156006733
commit d93cedef8a
+1 -1
View File
@@ -644,7 +644,7 @@ class Pileup( Tabular ):
try:
for hdr in headers:
if hdr and not hdr[0].startswith( '#' ):
if len( hdr ) < 3:
if len( hdr ) < 5:
return False
try:
# chrom start in column 1 (with 0-based columns)