4ae7d849e69a0c914ba43d7bb38a7491b8d0b366 galt Fri May 2 11:00:40 2025 -0700 minor bugfix for rm32750-hgBlat-table-all-alignments-not-available. refs #32750 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 0c83ee861bb..35db5935b93 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -524,42 +524,48 @@ return dy->string; } char *hgcPathAndSettings() /* Return path with this CGI script and session state variable. */ { static struct dyString *dy = NULL; if (dy == NULL) { dy = dyStringNew(128); dyStringPrintf(dy, "%s?%s", hgcName(), cartSidUrlString(cart)); } return dy->string; } -void hgcAnchorSomewhere(char *group, char *item, char *other, char *chrom) +static void hgcAnchorSomewhereExt(char *group, char *item, char *other, char *chrom, int start, int end, char *tbl) /* Generate an anchor that calls click processing program with item * and other parameters. */ { -char *tbl = cgiUsualString("table", cgiString("g")); char *itemSafe = cgiEncode(item); printf("", - hgcPathAndSettings(), group, itemSafe, chrom, winStart, winEnd, other, - tbl); + hgcPathAndSettings(), group, itemSafe, chrom, start, end, other, tbl); freeMem(itemSafe); } +void hgcAnchorSomewhere(char *group, char *item, char *other, char *chrom) +/* Generate an anchor that calls click processing program with item + * and other parameters. */ +{ +char *tbl = cgiUsualString("table", cgiString("g")); +hgcAnchorSomewhereExt(group, item, other, chrom, winStart, winEnd, tbl); +} + void hgcAnchorPosition(char *group, char *item) /* Generate an anchor that calls click processing program with item * and group parameters. */ { char *tbl = cgiUsualString("table", cgiString("g")); printf("", hgcPathAndSettings(), group, item, tbl); } void hgcAnchorWindow(char *group, char *item, int thisWinStart, int thisWinEnd, char *other, char *chrom) /* Generate an anchor that calls click processing program with item * and other parameters, INCLUDING the ability to specify left and * right window positions different from the current window*/ { @@ -3438,42 +3444,42 @@ // we're assuming that if there are multiple psl's with the same id that // they are the same query sequence so we only put out one set of sequences if (!hashLookup(seqHash, bedRow[3]) && !isEmpty(seq)) // if there is a query sequence { if (firstTime) { firstTime = FALSE; printf("

Links to sequence:

\n"); printf("