aa4e38f17873a04c9bdf37d15ea7889ca61c32a2 braney Wed May 25 08:30:40 2022 -0700 thrashing with this hgFind fix... sigh. This should put us back to where we started diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 905c8f6..80644b7 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -2147,31 +2147,31 @@ errCatchFree(&errCatch); if (hgp->singlePos != NULL) { if (retMultiChrom && chrom != NULL && differentString(chrom, hgp->singlePos->chrom)) *retMultiChrom = cloneString(chrom); chrom = hgp->singlePos->chrom; if (hgp->singlePos->chromStart < start) start = hgp->singlePos->chromStart; if (hgp->singlePos->chromEnd > end) end = hgp->singlePos->chromEnd; } else if (hgp->posCount == 0 || (multiTerm && hgp->posCount > 1)) break; } if (retChromName) - *retChromName = (chrom == NULL) ? NULL : chromAliasFindNative(chrom); + *retChromName = chrom; if (retWinStart) *retWinStart = start; if (retWinEnd) *retWinEnd = end; return hgp; } static struct hgPositions *revertPosition(struct cart *cart, char **pPosition, char **retChrom, int *retStart, int *retEnd, char *hgAppName, struct dyString *dyWarn) /* Revert *pPosition to lastPosition (or default position). Return a new hgp for the * resolved position. Append warnings to dyWarn, errAbort if defaultPos doesn't work. */ { struct hgPositions *hgp = NULL; boolean isMultiTerm = FALSE;