Refactor chunked-hgvs to use less memory.
[lightning.git] / anno2vcf.go
index 4b1295f5c0aa7102049156dfdf9b4c3b390ee173..23c6f21ece59f6c6b8ad7997472248519db12464 100644 (file)
@@ -128,7 +128,7 @@ func (cmd *anno2vcf) RunCommand(prog string, args []string, stdin io.Reader, std
                                if len(line) == 0 {
                                        continue
                                }
-                               if lineIdx & ^0xfff == 0 && thr.Err() != nil {
+                               if lineIdx&0xff == 0 && thr.Err() != nil {
                                        return nil
                                }
                                fields := bytes.Split(line, []byte{','})