b53a97d26633a1f174a7031559a69d37e393379f chmalee Fri May 1 14:19:19 2026 -0700 Allow myVariants tracks to be shared similar to google docs, read only and read+edit access by username or for all. Last write wins. Currently no history of changes, leaving that for the next version of the feature diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 52d2fea8a72..3304df6a7b9 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -26,31 +26,31 @@ #include "customTrack.h" #include "encode/encodePeak.h" #include "mdb.h" #include "web.h" #include "hPrint.h" #include "fileUi.h" #include "bigBed.h" #include "bigRmskUi.h" #include "bigWig.h" #include "regexHelper.h" #include "snakeUi.h" #include "vcfUi.h" #include "vcf.h" #include "errCatch.h" #include "samAlignment.h" -#include "makeItemsItem.h" +#include "myVariants.h" #include "bedDetail.h" #include "pgSnp.h" #include "memgfx.h" #include "trackHub.h" #include "genark.h" #include "gtexUi.h" #include "genbank.h" #include "htmlPage.h" #include "longRange.h" #include "barChartUi.h" #include "interactUi.h" #include "interact.h" #include "hicUi.h" #include "bigDbSnp.h" #include "customComposite.h" @@ -10358,32 +10358,32 @@ char *fileName = hReplaceGbdb(tdbBigFileName(conn, tdb)); if (fileName == NULL) return NULL; asObj = bigBedFileAsObjOrDefault(fileName); freeMem(fileName); } // TODO: standardize to a wig as //else if (tdbIsBigWig(tdb)) // asObj = asObjFrombigBed(conn,tdb); else if (tdbIsLongTabix(tdb)) asObj = longTabixAsObj(); else if (tdbIsBam(tdb)) asObj = bamAsObj(); else if (tdbIsVcf(tdb)) asObj = vcfAsObj(); -else if (startsWithWord("makeItems", tdb->type)) - asObj = makeItemsItemAsObj(); +else if (startsWithWord("myVariants", tdb->type)) + asObj = myVariantsAsObj(); else if (sameWord("bedDetail", tdb->type)) asObj = bedDetailAsObj(); else if (sameWord("pgSnp", tdb->type)) asObj = pgSnpAsObj(); else if (sameWord("barChart", tdb->type)) asObj = asParseText(barChartAutoSqlString); else if (sameWord("interact", tdb->type)) asObj = interactAsObj(); else if (sameWord("hic", tdb->type)) // HI-C data are stored in .hic files, but parsed into interact objects asObj = interactAsObj(); else if (sameWord("bedMethyl", tdb->type)) asObj = bedMethylAsObj(); else asObj = asFromTableDescriptions(conn, tdb->table);