69b00a9ddead8bdc0c3717a33a620f103f70bf94
hiram
  Wed Mar 25 17:47:26 2026 -0700
a default entry for gcOnFly synthetic track so it will correctly work with saves sessions refs #35958

diff --git src/hg/makeDb/trackDb/trackDb.ra src/hg/makeDb/trackDb/trackDb.ra
index 0893f4d587c..814f3e3066e 100644
--- src/hg/makeDb/trackDb/trackDb.ra
+++ src/hg/makeDb/trackDb/trackDb.ra
@@ -1636,30 +1636,51 @@
 shortLabel GC Percent
 longLabel GC Percent in 5-Base Windows
 group map
 visibility hide
 autoScale Off
 maxHeightPixels 128:36:16
 graphTypeDefault Bar
 gridDefault OFF
 windowingFunction Mean
 color 0,0,0
 altColor 128,128,128
 viewLimits 30:70
 type bigWig 0 100
 html gc5Base
 
+# gcOnFly is a synthetic track, computed at run time
+# this trackDb entry will allow it to operate properly with
+# correct visibility when a saved session is restored
+track gcOnFly
+shortLabel GC TDB Percent
+longLabel GC TDB Percent in 5-Base Windows
+group map
+visibility hide
+type bigWig 0 100
+bigDataUrl /dev/null
+syntheticTrack on
+calcWinSize 5
+autoScale Off
+viewLimits 30:70
+maxHeightPixels 128:36:16
+graphTypeDefault Bar
+gridDefault OFF
+windowingFunction Mean
+color 0,0,0
+altColor 128,128,128
+
 track ensemblGeneScaffold
 shortLabel Ensembl Assembly
 longLabel Ensembl Gene Scaffold Assembly
 group map
 visibility hide
 color 0,0,0
 useScore 1
 type bed 6 +
 
 searchTable ensemblGeneScaffold
 searchMethod prefix
 searchType bed
 shortCircuit 1
 termRegex GS_[0-9]+(\.[0-9]+)?
 searchPriority 18