ad0ff3b6674b6b3a2839df290b8c89b600960d07
tdreszer
  Tue Mar 29 12:39:18 2011 -0700
Remvoed obsolete assert.  The build will have to be patched with this.
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 2f310ec..86fc8cb 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -2007,31 +2007,31 @@
         track->limitedVisSet = TRUE;
         continue;
         }
 
     if (tdbIsComposite(track->tdb))
         {
         struct track *subtrack;
         for (subtrack = track->subtracks; subtrack != NULL;
                         subtrack = subtrack->next)
             {
             if (!isSubtrackVisible(subtrack))
                 continue;
 
             // subtrack vis can be explicit or inherited from composite/view.  Then it could be limited because of pixel height
             limitedVisFromComposite(subtrack);
-            assert(subtrack->limitedVisSet);
+            //assert(subtrack->limitedVisSet); // This is no longer a valid assertion, since visible track with no items items will not have limitedVisSet
 
             if (subtrack->limitedVis != tvHide)
                 {
                 subtrack->hasUi = track->hasUi;
                 flatTracksAdd(&flatTracks,subtrack,cart);
                 }
             }
         }
     else if (track->limitedVis != tvHide)
         flatTracksAdd(&flatTracks,track,cart);
     }
 flatTracksSort(&flatTracks); // Now we should have a perfectly good flat track list!
 struct track *prevTrack = NULL;
 for (flatTrack = flatTracks,prevTrack=NULL; flatTrack != NULL; flatTrack = flatTrack->next)
     {