1fef47c57b98d052470ee003df6cf5e8f32f3a65
hiram
  Thu Apr 28 10:40:40 2011 -0700
begin experiment with progress meter
diff --git src/hg/lib/customTrack.c src/hg/lib/customTrack.c
index 0cc5d5b..bc6425b 100644
--- src/hg/lib/customTrack.c
+++ src/hg/lib/customTrack.c
@@ -545,30 +545,33 @@
     system(ds->string);
     }
 #endif
 
 struct customTrack *track;
 struct dyString *ds = dyStringNew(0);
 for (track = trackList; track != NULL; track = track->next)
     {
     /* may be coming in here from the table browser.  It has wiggle
      *	ascii data waiting to be encoded into .wib and .wig
      */
     if (track->wigAscii)
         {
         /* HACK ALERT - calling private method function in customFactory.c */
         track->maxChromName = hGetMinIndexLength(genomeDb); /* for the loaders */
+#ifdef PROGRESS_METER
+	track->progressFile = 0;
+#endif
         wigLoaderEncoding(track, track->wigAscii, ctDbUseAll());
         ctAddToSettings(track, "tdbType", track->tdb->type);
         ctAddToSettings(track, "wibFile", track->wibFile);
         }
 
     /* handle track description */
     if (isNotEmpty(track->tdb->html))
         {
         /* write doc file in trash and add reference to the track line*/
         if (!track->htmlFile)
             {
             static struct tempName tn;
             trashDirFile(&tn, "ct", CT_PREFIX, ".html");
             track->htmlFile = cloneString(tn.forCgi);
             }