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/hgTables.c src/hg/hgTables/hgTables.c
index a67832e..f842f4d 100644
--- src/hg/hgTables/hgTables.c
+++ src/hg/hgTables/hgTables.c
@@ -925,30 +925,31 @@
     {
     /* check to see if we're inserting hubs rather than
      * adding them to the front of the list */
     if (addAfter != NULL)
 	{
 	group->next = addAfter->next;
 	addAfter->next = group;
 	}
     else
 	slAddHead(&groupList, group);
     hashAdd(groupsInDatabase, group->name, group);
     }
 
 /* Do some error checking for tracks with group names that are
  * not in database.  Just warn about them. */
+if (!trackHubDatabase(database))
 for (track = trackList; track != NULL; track = track->next)
     {
     if (!hashLookup(groupsInDatabase, track->grp))
          warn("Track %s has group %s, which isn't in grp table",
 	 	track->table, track->grp);
     }
 
 /* Create dummy group for all tracks. */
 AllocVar(group);
 group->name = cloneString("allTracks");
 group->label = cloneString("All Tracks");
 slAddTail(&groupList, group);
 
 /* Create another dummy group for all tables. */
 if (allTablesOk)