51b12665a66876e1bbf7b022682a2050d4eb227d
braney
  Fri Sep 12 13:03:18 2025 -0700
some fixes for quickLifted custom tracks

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 8a9b0acde9c..0f70c63c5d2 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -2019,31 +2019,32 @@
         {
         liftDb = CUSTOM_TRASH;
         sqlTable = trackDbSetting(tdb, "dbTableName");
         }
     db = liftDb;
     }
 
 if (!hFindSplitTable(db, seqName, tdb->table, table, sizeof table, &hasBin))
     errAbort("genericBedClick track %s not found", tdb->table);
 
 if (liftDb)
     {
     struct hash *chainHash = newHash(10);
     char *quickLiftFile = cloneString(trackDbSetting(tdb, "quickLiftUrl"));
     bed = (struct bed *)quickLiftSql(conn, quickLiftFile, sqlTable, seqName, winStart, winEnd,  NULL, NULL, (ItemLoader2)bedLoadN, bedSize, chainHash);
-    bedPrintPos(bed, bedSize, tdb);
+    struct bed *liftedBeds = quickLiftBeds(bed, chainHash, FALSE);
+    bedPrintPos(liftedBeds, bedSize, tdb);
 
     //extraFieldsPrint(tdb,sr,row,sqlCountColumns(sr));
     }
 else 
     {
     if (bedSize <= 3)
         sqlSafef(query, sizeof query, "select * from %s where chrom = '%s' and chromStart = %d", table, seqName, start);
     else
         {
         struct hTableInfo *hti = hFindTableInfoWithConn(conn, seqName, tdb->table);
         if (hti && *hti->nameField && differentString("name", hti->nameField))
             sqlSafef(query, sizeof query, "select * from %s where %s = '%s' and chrom = '%s' and chromStart = %d",
                 table, hti->nameField, item, seqName, start);
         else
             sqlSafef(query, sizeof query, "select * from %s where name = '%s' and chrom = '%s' and chromStart = %d",