95e453ff14033e9fea9cc36dc1bf58d6e0a5b9d4 braney Fri Jun 27 09:52:02 2014 -0700 fix silly bug that resulted in navigation for "other" clade browsers notworking. diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c index 076645c..665680f 100644 --- src/hg/lib/hdb.c +++ src/hg/lib/hdb.c @@ -2534,31 +2534,31 @@ hDisconnectCentral(&conn); return gotClade; } char *hClade(char *genome) /* If central database has clade tables, return the clade for the * given genome; otherwise return NULL. */ { char *clade; if ((clade = trackHubAssemblyClade(genome)) != NULL) return clade; if (isHubTrack(genome)) { warn("Current genome '%s' is supported by a hub that is no longer connected. Switching to default database.", trackHubSkipHubName(genome)); - return cloneString("other"); + return cloneString("none"); } struct sqlConnection *conn = hConnectCentral(); if (hGotCladeConn(conn)) { char query[512]; sqlSafef(query, sizeof(query), "select clade from genomeClade where genome = '%s'", genome); clade = sqlQuickString(conn, query); hDisconnectCentral(&conn); if (clade == NULL) { warn("Warning: central database genomeClade doesn't contain " "genome \"%s\"", genome); return cloneString("other");