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

diff --git src/inc/psl.h src/inc/psl.h
index eac4fb2..20da71e 100644
--- src/inc/psl.h
+++ src/inc/psl.h
@@ -248,30 +248,34 @@
 
 void pslTargetOffset(struct psl *psl, int offset);
 /* Add offset to target positions in psl. */
 
 void pslDump(struct psl *psl, FILE *f);
 /* Dump most of PSL to file - for debugging. */
 
 struct psl *pslTrimToTargetRange(struct psl *oldPsl, int tMin, int tMax);
 /* Return psl trimmed to fit inside tMin/tMax.  Note this does not
  * update the match/misMatch and related fields. */
 
 struct psl *pslTrimToQueryRange(struct psl *oldPsl, int qMin, int qMax);
 /* Return psl trimmed to fit inside qMin/qMax.  Note this does not
  * update the match/misMatch and related fields. */
 
+void pslRecalcBounds(struct psl *psl);
+/* Calculate qStart/qEnd tStart/tEnd at top level to be consistent
+ * with blocks. */
+
 int pslCheck(char *pslDesc, FILE* out, struct psl* psl);
 /* Validate a PSL for consistency.  pslDesc is printed the error messages
  * to file out (open /dev/null to discard). Return count of errors. */
 
 int pslCheck2(unsigned opts, char *pslDesc, FILE* out, struct psl* psl);
 /* Validate a PSL for consistency.  pslDesc is printed the error messages to
  * file out (open /dev/null to discard). Return count of errors.  Option
  * PSL_CHECK_IGNORE_INSERT_CNTS doesn't validate problems insert counts fields
  * in each PSL.  Useful because protein PSL doesn't seen to compute these in a
  * consistent way.
  */
 
 int pslCountBlocks(struct psl *target, struct psl *query, int maxBlockGap);
 /* count the number of blocks in the query that overlap the target */
 /* merge blocks that are closer than maxBlockGap */