1791b48abfff1cb403041e39962c4021d3680664
angie
  Fri Dec 7 17:03:41 2018 -0800
Making pslRecalcBounds public for use elsewhere.

diff --git src/lib/psl.c src/lib/psl.c
index 0aca0d1..3346ffd 100644
--- src/lib/psl.c
+++ src/lib/psl.c
@@ -1205,31 +1205,31 @@
 
 void pslDump(struct psl *psl, FILE *f)
 /* Dump most of PSL to file - for debugging. */
 {
 int i;
 fprintf(f, "<PRE>\n");
 fprintf(f, "psl %s:%d-%d %s %s:%d-%d %d\n", 
 	psl->qName, psl->qStart, psl->qEnd, psl->strand,
 	psl->tName, psl->tStart, psl->tEnd, psl->blockCount);
 for (i=0; i<psl->blockCount; ++i)
     fprintf(f, "  size %d, qStart %d, tStart %d\n", 
     	psl->blockSizes[i], psl->qStarts[i], psl->tStarts[i]);
 fprintf(f, "</PRE>");
 }
 
-static void pslRecalcBounds(struct psl *psl)
+void pslRecalcBounds(struct psl *psl)
 /* Calculate qStart/qEnd tStart/tEnd at top level to be consistent
  * with blocks. */
 {
 int qStart, qEnd, tStart, tEnd, size;
 int last = psl->blockCount - 1;
 qStart = psl->qStarts[0];
 tStart = psl->tStarts[0];
 size = psl->blockSizes[last];
 qEnd = psl->qStarts[last] + size;
 tEnd = psl->tStarts[last] + size;
 if (psl->strand[0] == '-')
     reverseIntRange(&qStart, &qEnd, psl->qSize);
 if (psl->strand[1] == '-')
     reverseIntRange(&tStart, &tEnd, psl->tSize);
 psl->qStart = qStart;