53237d35a239609d588340929dec558b0bcca1c7
braney
  Mon Mar 20 12:15:32 2023 -0700
let users specify the squishyPackPoint

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index a942535..bde1681 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -4727,31 +4727,31 @@
 lineFileClose(&lf);
 return nonEmptySubtracksHash;
 }
 
 static void expandSquishyPackTracks(struct track *trackList)
 /* Step through track list and duplicated tracks with squishyPackPoint defined */
 {
 struct track *nextTrack = NULL, *track;
 for (track = trackList; track != NULL; track = nextTrack)
     {
     nextTrack = track->next;
 
     if (track->visibility != tvPack)
         continue;
 
-    char *string = trackDbSetting(track->tdb, "squishyPackPoint");
+    char *string = cartOrTdbString(cart, track->tdb,  "squishyPackPoint", NULL);
     if (string != NULL)
         {
         double squishyPackPoint = atof(string);
 
         /* clone the track */
         char buffer[strlen(track->track) + strlen("Squish") + 1];
         safef(buffer, sizeof buffer, "%sSquish", track->track);
 
         struct track *squishTrack = CloneVar(track);
         squishTrack->tdb = CloneVar(track->tdb);
         squishTrack->tdb->track = cloneString(buffer);
         squishTrack->tdb->next = NULL;
         squishTrack->visibility = tvSquish;
         squishTrack->limitedVis = tvSquish;
         hashAdd(trackHash, squishTrack->tdb->track, squishTrack);