7e1660aa9ae362929c756d47d0bfe056b7aa4543
galt
  Mon Sep 27 14:25:16 2021 -0700
adds missing tStart field in field names for JSON BLAT output. fixes #28239

diff --git src/lib/psl.c src/lib/psl.c
index fc445ce..66f2b9c 100644
--- src/lib/psl.c
+++ src/lib/psl.c
@@ -540,32 +540,34 @@
 
 static void pslLabelColumns(FILE *f)
 /* Write column info. */
 {
 fputs("\n"
 "match\tmis- \trep. \tN's\tQ gap\tQ gap\tT gap\tT gap\tstrand\tQ        \tQ   \tQ    \tQ  \tT        \tT   \tT    \tT  \tblock\tblockSizes \tqStarts\t tStarts\n"
 "     \tmatch\tmatch\t   \tcount\tbases\tcount\tbases\t      \tname     \tsize\tstart\tend\tname     \tsize\tstart\tend\tcount\n" 
 "---------------------------------------------------------------------------------------------------------------------------------------------------------------\n",
 f);
 }
 
 static void pslLabelColumnsJson(FILE *f) 
 /* Write column info as a JSON array */
 {
 fputs("[\"matches\", \"misMatches\", \"repMatches\", \"nCount\", \"qNumInsert\", \"qBaseInsert\", "
-        "\"tNumInsert\", \"tBaseInsert\", \"strand\", \"qName\", \"qSize\", \"qStart\", \"qEnd\", \"tName\", "
-        "\"tSize\", \"tEnd\", \"blockCount\", \"blockSizes\", \"qStarts\", \"tStarts\"]", f);
+        "\"tNumInsert\", \"tBaseInsert\", \"strand\", "
+        "\"qName\", \"qSize\", \"qStart\", \"qEnd\", "
+        "\"tName\", \"tSize\", \"tStart\", \"tEnd\", "
+	"\"blockCount\", \"blockSizes\", \"qStarts\", \"tStarts\"]", f);
 }
 
 void pslxWriteHead(FILE *f, enum gfType qType, enum gfType tType)
 /* Write header for extended (possibly protein) psl file. */
 {
 fprintf(f, "psLayout version 4 %s %s\n", gfTypeName(qType), gfTypeName(tType));
 pslLabelColumns(f);
 }
 
 void pslWriteHead(FILE *f)
 /* Write head of psl. */
 {
 fputs("psLayout version 3\n", f);
 pslLabelColumns(f);
 }