Skip to content

Commit f090f93

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 11d53b0 + e624290 commit f090f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bwakit/bwa-postalt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function bwa_postalt(args)
283283
// process SAM
284284
var buf2 = [], hla = {};
285285
file = args.length - getopt.ind >= 2? new File(args[getopt.ind+1]) : new File();
286-
while (file.readline(buf) >= 0) {
286+
while (file.readline(buf) > 0) {
287287
var m, line = buf.toString();
288288

289289
if (line.charAt(0) == '@') { // print and then skip the header line

0 commit comments

Comments
 (0)