3258e4421c0a95ef8ca84445b077c77faaf04970
braney
  Mon Aug 10 18:14:37 2026 -0700
clinvar: give clinvarSubLolly a maxHeightPixels ceiling, refs #38072

A bigLolly row is a fixed pixel height, so neither pix nor textSize reaches it.
A figure rendered at three times the normal width left the ClinVar submitted
interpretations row at 128 pixels while the tracks around it grew with the font,
so it came out a sliver with unreadable y-axis labels.  Docent asks for a taller
row for a print render (see 140e29ae689, refs #37892), but each track's own
maxHeightPixels clamps that request, and this track had no setting, so the
ceiling fell back to the 128 default and the request was clamped straight back.

Raise the ceiling to 512.  The default stays at 128, so an ordinary view is
unchanged and only a render that asks for more can get it.  The two files are
kept in step because the alpha stanza carries its own copy.

diff --git src/hg/makeDb/trackDb/human/clinvar.ra src/hg/makeDb/trackDb/human/clinvar.ra
index 59d67f140e6..e8ff37358d4 100644
--- src/hg/makeDb/trackDb/human/clinvar.ra
+++ src/hg/makeDb/trackDb/human/clinvar.ra
@@ -82,30 +82,35 @@
         xrefDataUrl /gbdb/$D/clinvarSubLolly/clinvarSub.bb
         type bigLolly
         group phenDis
         lollySizeField 10
         yAxisNumLabels off
         lollyNoStems on
         configurable off
         skipFields reviewStatus
         yAxisLabel.0 0 on 150,150,150 OTH
         yAxisLabel.1 1 on 150,150,150 B
         yAxisLabel.2 2 on 150,150,150 LB
         yAxisLabel.3 3 on 150,150,150 VUS
         yAxisLabel.4 4 on 150,150,150 LP
         yAxisLabel.5 5 on 150,150,150 P
         lollyMaxSize 10
+        # Default stays the bigLolly default of 128; the ceiling is raised so a print/figure
+        # render can ask for a taller row (clinvarSubLolly.heightPer). Without this,
+        # cartTdbFetchMinMaxPixels clamps any request back to 128 and the lollipop row is a
+        # sliver in a 3x-wide image.
+        maxHeightPixels 512:128:11
         viewLimits 0:5
         mouseOverField _mouseOver
         filterValues.score 5|Pathogenic,4|Likely Pathogenic,3|Variant of Unknown Significance,2|Likely Benign,1|Benign,0|Others
         filterType.score multiple
         filterLabel.score Filter by variant classification
         urls rcvAcc="https://www.ncbi.nlm.nih.gov/clinvar/$$/" geneId="https://www.ncbi.nlm.nih.gov/gene/$$" snpId="https://www.ncbi.nlm.nih.gov/snp/$$" nsvId="https://www.ncbi.nlm.nih.gov/dbvar/variants/$$/" origName="https://www.ncbi.nlm.nih.gov/clinvar/variation/$$/"
 
 searchTable clinvarCnv
 searchType bigBed
 searchDescription ClinVar Copy Number Variants 
 termRegex ^([ne]ssv.*)|(rs[0-9]+)|(VCV.*)
 searchMethod prefix
 
 searchTable clinvarMain
 searchType bigBed