c16dcfe8fda775ad079cddaef13a999da905c2ac chmalee Tue Aug 27 11:45:51 2024 -0700 In table browser, when checking if a track has an hTableInfo so we can put up the identifiers configuration, check if the requested track is in the list of tracks for that assembly, rather than just assume native tracks will not have a period in the name, refs #34252 diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c index 00e6074..bb3085b 100644 --- src/hg/hgTables/mainPage.c +++ src/hg/hgTables/mainPage.c @@ -676,34 +676,36 @@ /* Print group and track line. */ { hPrintf("<TR><TD>"); selGroup = showGroupField(hgtaGroup, "change", onChangeGroupOrTrack(), conn, hAllowAllTables()); nbSpaces(3); curTrack = showTrackField(selGroup, hgtaTrack, "change", onChangeGroupOrTrack(), FALSE); nbSpaces(3); hPrintf("</TD></TR>\n"); } /* Print table line. */ { hPrintf("<TR><TD>"); curTable = showTableField(curTrack, hgtaTable, TRUE); - if (isHubTrack(curTable) || (strchr(curTable, '.') == NULL)) /* In same database */ + if (isHubTrack(curTable) || hashFindVal(fullTableToTdbHash, curTable) != NULL) /* In same database */ { - hti = getHti(database, curTable, conn); isPositional = htiIsPositional(hti); - } isLongTabix = isLongTabixTable( curTable); + hti = getHti(database, curTable, conn); + isPositional = htiIsPositional(hti); + } + isLongTabix = isLongTabixTable( curTable); isBam = isBamTable(curTable); isHic = isHicTable(curTable); isVcf = isVcfTable(curTable, NULL); isWig = isWiggle(database, curTable); if (isBigWigTable(curTable)) { isPositional = TRUE; isWig = TRUE; } isHalSnake = isHalTable( curTable); isMaf = isMafTable(database, curTrack, curTable); isBedGr = isBedGraph(curTable); isArray = isMicroarray(curTrack, curTable); struct trackDb *tdb = findTdbForTable(database, curTrack, curTable, ctLookupName); isPal = isPalCompatible(conn, tdb, curTable);