src/hg/hgTracks/simpleTracks.c 1.143

1.143 2010/05/27 21:13:24 angie
When building without USE_BAM=1, install a dummy track handler for bam that prints a message in place of track items, so we don't pop up an annoying 'No track handler' warnbox.
Index: src/hg/hgTracks/simpleTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/simpleTracks.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -b -B -U 4 -r1.142 -r1.143
--- src/hg/hgTracks/simpleTracks.c	27 May 2010 21:07:39 -0000	1.142
+++ src/hg/hgTracks/simpleTracks.c	27 May 2010 21:13:24 -0000	1.143
@@ -10753,14 +10753,12 @@
 else if (sameWord(type, "maf"))
     {
     mafMethods(track);
     }
-#ifdef USE_BAM
 else if (sameWord(type, "bam"))
     {
     bamMethods(track);
     }
-#endif /* USE_BAM */
 #ifndef GBROWSE
 else if (sameWord(type, "coloredExon"))
     {
     coloredExonMethods(track);