0a582c905f844663a018e9940ee82ff29f69df50
braney
  Sun Nov 3 14:36:52 2024 -0800
add setColorWith to the list of file types that get macro substution

diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c
index db6edcb..18f84cd 100644
--- src/hg/lib/trackDbCustom.c
+++ src/hg/lib/trackDbCustom.c
@@ -1583,30 +1583,31 @@
 if (metadataInTdb)
     return convertNameValueString(metadataInTdb);
 
 return NULL;
 }
 
 boolean trackSettingIsFile(char *setting)
 /* Returns TRUE if setting found in trackDb stanza is a file setting that
  * would benefit from directory $D substitution among other things - looks for
  * settings that ends in "Url" and a few others. */
 {
 return endsWith(setting, "Url") ||
     sameString(setting, "bigDataIndex") ||
     sameString(setting, "quickLiftUrl") ||
     sameString(setting, "frames") ||
+    sameString(setting, "setColorWith") ||
     sameString(setting, "summary") ||
     sameString(setting, "searchTrix") ||
     (startsWith("decorator.", setting) && endsWith(setting, ".url"));
 }
 
 char *labelAsFilteredNumber(char *label, unsigned numOut)
 /* add text to label to indicate filter is active */
 {
 char buffer[2048];
 safef(buffer, sizeof buffer, " (%d items filtered out)", numOut);
 return catTwoStrings(label, buffer);
 }
 
 char *labelAsFiltered(char *label)
 /* add text to label to indicate filter is active */