60527238f7fe8afc89824e93b0d8780f1bcf65ad chmalee Wed May 6 14:38:50 2026 -0700 Rename my variants to my annotations where appropriate, refs #33808 diff --git src/hg/lib/myVariants.c src/hg/lib/myVariants.c index ce7d3220a85..5dfbe3abec3 100644 --- src/hg/lib/myVariants.c +++ src/hg/lib/myVariants.c @@ -600,32 +600,32 @@ return NULL; } /* Reusable, stable filename per user+db - always rewrite since shares are dynamic */ struct tempName tn; char base[PATH_LEN]; char *hostPort = cgiServerNamePort(); safef(base, sizeof base, "myVariants_%s_%s_%s", hostPort ? hostPort : "localhost", targetDb, isNotEmpty(encodedTableName) ? encodedTableName : "shared"); for (char *p = base; *p; p++) if (*p == '/') *p = '_'; trashDirReusableFile(&tn, "ct", base, ".bed"); FILE *f = mustOpen(tn.forCgi, "w"); if (hasOwnItems) fprintf(f, "track name=\"%s\" type=\"myVariants\" itemRgb=\"on\"" - " visibility=\"pack\" shortLabel=\"My Variants\"" - " longLabel=\"My Variants (%s)\"\n", encodedTableName, encodedTableName); + " visibility=\"pack\" shortLabel=\"My Annotations\"" + " longLabel=\"My Annotations (%s)\"\n", encodedTableName, encodedTableName); if (dyStringLen(sharedLines) > 0) fprintf(f, "%s", dyStringContents(sharedLines)); carefulClose(&f); dyStringFree(&sharedLines); freeMem(encodedTableName); return cloneString(tn.forCgi); } struct slName *myVariantsGetProjects(char *userName) /* Return list of distinct non-empty project values for this user's myVariants table. * Caller must slFreeList the result. Returns NULL if no projects or table doesn't exist. */ { if (isEmpty(userName)) return NULL;