e5969c8ac3b73702710925bfc013c9fdbd8dbbdd braney Fri Sep 5 11:11:10 2025 -0700 take out a fix that broke zooming out after an hgConvert diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index 6eaeadf898e..53f35d95e38 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -146,33 +146,30 @@ return (struct trackHubGenome *)hel->val; } struct trackHubGenome *trackHubGetGenome(char *database) /* get genome structure for an assembly in a trackHub */ { if (hubAssemblyHash == NULL) errAbort("An error occurred while adding the custom track. This may be due to a mismatch" " between the db= parameter and the genome selected at the top of the page." " If you are having trouble resolving this error please contact us at" " genome-www@soe.ucsc.edu."); struct hashEl *hel = hashLookup(hubAssemblyHash, database); -if (hel == NULL) - hel = hashLookup(hubAssemblyUndecoratedHash, database); - if (hel == NULL) return NULL; return (struct trackHubGenome *)hel->val; } boolean trackHubDatabase(char *database) /* Is this an assembly from an Assembly Data hub? */ { if (hubAssemblyHash == NULL) return FALSE; return trackHubGetGenome(database) != NULL; }