303e913af55f68e47416249fefc71a069776c982
kate
  Wed Oct 14 12:02:24 2020 -0700
Increase maximum number of barChart bars from 100 to 1000 (needed by Max). refs #26354

diff --git src/hg/hgTracks/barChartTrack.c src/hg/hgTracks/barChartTrack.c
index c98bc8f..c72e42d 100644
--- src/hg/hgTracks/barChartTrack.c
+++ src/hg/hgTracks/barChartTrack.c
@@ -86,31 +86,31 @@
 char *getCategoryName(struct track *tg, int id)
 /* Get category name from id, cacheing */
 {
 struct barChartCategory *categ;
 int count = getCategoryCount(tg);
 struct barChartTrack *extras = (struct barChartTrack *)tg->extraUiData;
 if (!extras->categNames)
     {
     struct barChartCategory *categs = getCategories(tg);
     AllocArray(extras->categNames, count);
     for (categ = categs; categ != NULL; categ = categ->next)
         extras->categNames[categ->id] = cloneString(categ->name);
     }
 if (id >= count)
     {
-    warn("Bar chart track: can't find sample ID %d in category file. The category file is a two-column file where sample IDs are associated to categories, specified with the setting 'barChartSampleUrl'.\n", id);
+    warn("Bar chart track '%s': can't find sample ID %d in category file with %d categories. The category file is a two-column file where sample IDs are associated to categories, specified with the setting 'barChartSampleUrl'.\n", tg->shortLabel, id, count);
     return NULL;        // Exclude this category
     }
 return extras->categNames[id];
 }
 
 char *getCategoryLabel(struct track *tg, int id)
 /* Get category descriptive label from id, cacheing */
 {
 struct barChartTrack *extras = (struct barChartTrack *)tg->extraUiData;
 struct barChartCategory *categ;
 int count = getCategoryCount(tg);
 if (!extras->categLabels)
     {
     struct barChartCategory *categs = getCategories(tg);
     AllocArray(extras->categLabels, count);