3c2ed53526889f9cd347ade7e1f71d35aa542cbb braney Wed May 25 17:54:06 2022 -0700 on assembly hubs, make sure searches work on both the tracks in the assembly hub AND attached track hubs diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index 3ba9eb9..0e21348 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -1262,32 +1262,32 @@ } void trackHubFindPos(struct cart *cart, char *db, char *term, struct hgPositions *hgp) /* Look for term in track hubs. Update hgp if found */ { struct trackDb *tdbList = NULL; if (trackHubDatabase(db)) { struct trackHubGenome *genome = trackHubGetGenome(db); tdbList = trackHubTracksForGenome(genome->trackHub, genome, NULL); } -else - tdbList = hubCollectTracks(db, NULL); + +tdbList = slCat(tdbList, hubCollectTracks(db, NULL)); findBigBedPosInTdbList(cart, db, tdbList, term, hgp, NULL); } static void parseBlatPcrParams(char *database, char *type, char *setting, char **pHost, char **pPort, char **pGenomeDataDir) /* parser parameters for either blat or pcr */ { char *conf = trimSpaces(cloneString(setting)); int numWords = chopByWhite(conf, NULL, 5); if ((numWords < 2) || (numWords > 4)) errAbort("invalid configuration for hub %s server, expect 2 or 4 arguments: %s", type, setting); char *words[4]; chopByWhite(conf, words, numWords);