87d6076554f98937b61536cee9060433780be6df braney Wed Aug 6 21:08:59 2014 -0700 fix problem in hgc with '.'s in table names in superTracks in trackHubs. diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index c0c9b0a..7aee543 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -939,31 +939,31 @@ { if (c == ' ') break; if (!(isalnum(c) || c == '-' || c == '_')) *in = '_'; } } static void polishOneTrack( struct trackHub *hub, struct trackDb *bt, struct hash *hash) /* Get rid of special characters in track name, squirrel away a copy * of the original name for html retrieval, make sure there aren't * two tracks with the same name. */ { -char *polished = trackDbSetting(bt, "polished"); +char *polished = trackDbLocalSetting(bt, "polished"); if (polished != NULL) return; trackDbAddSetting(bt, "polished", "polished"); char *htmlName = trackDbSetting(bt, "html"); /* if the user didn't specify an html variable, set it to be the original * track name */ if (htmlName == NULL) trackDbAddSetting(bt, "html", bt->track); trackHubFixName(bt->track); if (hashLookup(hash, bt->track) != NULL) errAbort("more than one track called %s in hub %s\n", bt->track, hub->url);