src/hg/hgTracks/simpleTracks.c 1.61
1.61 2009/02/17 17:51:13 mikep
Hopefully this is a better error message - I ran into this a few times with new encode track types
Index: src/hg/hgTracks/simpleTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/simpleTracks.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -b -B -U 4 -r1.60 -r1.61
--- src/hg/hgTracks/simpleTracks.c 9 Feb 2009 19:44:15 -0000 1.60
+++ src/hg/hgTracks/simpleTracks.c 17 Feb 2009 17:51:13 -0000 1.61
@@ -188,9 +188,9 @@
boolean withGuidelines = TRUE; /* Display guidelines? */
boolean withNextExonArrows = FALSE; /* Display next exon navigation buttons near center labels? */
boolean revCmplDisp = FALSE; /* reverse-complement display */
-boolean measureTiming = FALSE; /* Flip this on to display timing
+boolean measureTiming = TRUE; /* Flip this on to display timing
* stats on each track at bottom of page. */
struct track *trackList = NULL; /* List of all tracks. */
struct cart *cart; /* The cart where we keep persistent variables. */
@@ -10424,9 +10424,9 @@
if (isSubtrackVisible(subtrack))
{
lastTime = clock1000();
if (!subtrack->loadItems) // This could happen if track type has no handler (eg, for new types)
- errAbort("Error: Null pointer subtrack->loadItems in compositeLoad() for track(%s) subtrack(%s)\n", track->mapName, subtrack->mapName);
+ errAbort("Error: No loadItems() handler for subtrack (%s) of composite track (%s) (is this a new track 'type'?)\n", subtrack->mapName, track->mapName);
subtrack->loadItems(subtrack);
if (measureTiming)
{
thisTime = clock1000();