b781052c921172ea50522fb2dac418337c79fd83
braney
  Mon Jun 23 09:38:53 2025 -0700
don't filter on 'm' for bedMethyl

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 4512b281ad6..d275657ec0f 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -12160,31 +12160,31 @@
 /* Load up bedMethyl type tracks */
 {
 struct customTrack *ct = tg->customPt;
 char *table = tg->table;
 struct sqlConnection *conn;
 if (ct == NULL)
     conn = hAllocConn(database);
 else
     {
     conn = hAllocConn(CUSTOM_TRASH);
     table = ct->dbTableName;
     }
 struct dyString *query = sqlDyStringCreate("select * from %s where ", table);
 hAddBinToQuery(winStart, winEnd, query);
 // for the moment we're only loading the 'm's and not the 'h's
-sqlDyStringPrintf(query, "chrom = '%s' and chromStart < %d and chromEnd > %d and name = 'm'",
+sqlDyStringPrintf(query, "chrom = '%s' and chromStart < %d and chromEnd > %d",
 	       chromName, winEnd, winStart);
 tg->items = bedMethylLoadByQuery(conn, query->string);
 
 hFreeConn(&conn);
 }
 
 void loadPgSnp(struct track *tg)
 /* Load up pgSnp (personal genome SNP) type tracks */
 {
 struct customTrack *ct = tg->customPt;
 char *table = tg->table;
 struct sqlConnection *conn;
 if (ct == NULL)
     conn = hAllocConn(database);
 else
@@ -12244,31 +12244,31 @@
     {
     if (isCenterLabelIncluded(tg))
 	yOff += mgFontLineHeight(font);
     hvGfxTextRight(hvg, leftLabelX, yOff, leftLabelWidth-1, tg->lineHeight,
 		   color, font, tg->shortLabel);
     }
 }
 
 void bedMethylMethods (struct track *tg)
 /* bedMethyl track methods */
 {
 bedMethods(tg);
 tg->loadItems = loadBedMethyl;
 tg->itemColor = bedMethylColor;
 tg->mapItem= bedMethylMapItem;
-tg->canPack = TRUE;
+tg->tdb->canPack = TRUE;
 }
 
 void pgSnpMethods (struct track *tg)
 /* Personal Genome SNPs: show two alleles with stacked color bars for base alleles and
  * (if available) allele counts in mouseover. */
 {
 bedMethods(tg);
 tg->loadItems = loadPgSnp;
 tg->freeItems = freePgSnp;
 tg->totalHeight = pgSnpHeight;
 tg->itemName = pgSnpName;
 tg->drawItemAt = pgSnpDrawAt;
 tg->mapItem = pgSnpMapItem;
 tg->nextItemButtonable = TRUE;
 tg->nextPrevItem = linkedFeaturesLabelNextPrevItem;