e6f14fcef3884ca03768d4c646b442f3b606a959
braney
  Thu Jul 11 12:39:00 2013 -0700
some cleanup of assembly hubs: require organism and defaultPos, tolerate missing scientificName, groups, htmlPath and orderKey.  Fix weird bug with wikiTrack missing a settingsHash.
diff --git src/hg/hgTables/wikiTrack.c src/hg/hgTables/wikiTrack.c
index cc8fca9..9bff0fa 100644
--- src/hg/hgTables/wikiTrack.c
+++ src/hg/hgTables/wikiTrack.c
@@ -13,30 +13,31 @@
 {
 struct trackDb *tdb;
 
 AllocVar(tdb);
 tdb->track = WIKI_TRACK_TABLE;
 tdb->table = WIKI_TRACK_TABLE;
 tdb->shortLabel = WIKI_TRACK_LABEL;
 tdb->longLabel = WIKI_TRACK_LONGLABEL;
 tdb->visibility = tvFull;
 tdb->priority = WIKI_TRACK_PRIORITY;
 
 tdb->html = hFileContentsOrWarning(hHelpFile(tdb->track));
 tdb->type = "none";
 tdb->grp = "map";
 tdb->canPack = FALSE;
+tdb->settingsHash = newHash(5);
 
 slAddHead(list, tdb);
 slSort(list, trackDbCmp);
 }
 
 struct hTableInfo *wikiHti()
 /* Create an hTableInfo for the wikiTrack. */
 {
 struct hTableInfo *hti;
 
 AllocVar(hti);
 hti->rootName = cloneString(WIKI_TRACK_TABLE);
 hti->isPos = TRUE;
 hti->isSplit = FALSE;
 hti->hasBin = TRUE;