src/hg/inc/customFactory.h 1.16

1.16 2009/11/09 22:31:02 angie
Added customFactoryEnableExtraChecking, intended to be called only by hgCustom. When the user first loads a custom track, it's a good time for more expensive testing (like opening remote BAM files). However, hgTracks etc. can save time by not duplicating that work every time they parse existing tracks. Currently only bamLoader uses this.
Index: src/hg/inc/customFactory.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/customFactory.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 4 -r1.15 -r1.16
--- src/hg/inc/customFactory.h	3 Sep 2008 19:19:10 -0000	1.15
+++ src/hg/inc/customFactory.h	9 Nov 2009 22:31:02 -0000	1.16
@@ -136,7 +136,12 @@
 
 char *customTrackUserConfig(struct customTrack *ct);
 /* return user-defined track line and browser lines */
 
+void customFactoryEnableExtraChecking(boolean enable);
+/* Enable/disable extra checking of custom tracks in customFactoryParse.
+ * E.g. extra checking is great the first time we read in a custom track,
+ * but we don't need it for every hgTracks call. */
+
 #endif /* CUSTOMFACTORY_H */