db7b434c0784da31fabea8308639ec60a7ca2da8 galt Thu Sep 8 23:49:37 2022 -0700 Little fix since more keywords were added to the end of the bigGenePred type. hui.c and fixes for dbSnp153+ diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 2aaa664..e6e967c 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4697,31 +4697,31 @@ "$(\"input:checkbox[name^='%s']\").each(function(){this.checked = %s;$(this).trigger('change');})", buttonVar, isSet ? "true" : "false"); safef(id, sizeof id, "%s_grp%sBut", buttonVar, isSet ? "Set" : "Clr"); cgiMakeOnClickButton(id, javascript, isSet ? JS_SET_ALL_BUTTON_LABEL : JS_CLEAR_ALL_BUTTON_LABEL); } struct trackDb *snp125FetchGeneTracks(char *database, struct cart *cart) /* Get a list of genePred tracks. */ { struct trackDb *tdbList = NULL; struct hash *trackHash = trackHashMakeWithComposites(database,NULL,&tdbList,FALSE); struct sqlConnection *conn = hAllocConn(database); struct slName *justGenePredTables = hTrackTablesOfType(conn, "genePred%%"), *gt; -struct slName *bigGenePredTables = hTrackTablesOfType(conn, "bigGenePred"); +struct slName *bigGenePredTables = hTrackTablesOfType(conn, "bigGenePred%%"); struct slName *genePredTables = slCat(justGenePredTables,bigGenePredTables); struct trackDb *geneTdbList = NULL, *gTdb; if (genePredTables != NULL) { for (gt = genePredTables; gt != NULL; gt = gt->next) { gTdb = hashFindVal(trackHash, gt->name); if (gTdb && sameString(gTdb->grp, "genes")) { // We are going to overwrite gTdb's next pointer and possibly its priority, // so make a shallow copy: gTdb = CloneVar(gTdb); if (gTdb->parent) gTdb->priority = (gTdb->parent->priority + gTdb->priority/1000); slAddHead(&geneTdbList, gTdb);