60527238f7fe8afc89824e93b0d8780f1bcf65ad chmalee Wed May 6 14:38:50 2026 -0700 Rename my variants to my annotations where appropriate, refs #33808 diff --git src/hg/hgc/myVariantsClick.c src/hg/hgc/myVariantsClick.c index 33948a1358f..6e9dcc7c7d5 100644 --- src/hg/hgc/myVariantsClick.c +++ src/hg/hgc/myVariantsClick.c @@ -87,37 +87,37 @@ { printf("<FORM ACTION=\"%s\" METHOD=\"POST\">\n\n", hgTracksName()); cartSaveSession(cart); /* Save away ID string in hidden var. */ char varName[128]; char idStr[128]; safef(varName, sizeof(varName), "%s_%s", trackName, "id"); safef(idStr, sizeof(idStr), "%d", item->id); cgiMakeHiddenVar(varName, idStr); /* Put up editable label. */ safef(varName, sizeof(varName), "%s_%s", trackName, "name"); printf("<B>Label:</B> "); cgiMakeTextVar(varName, item->name, 17); - printInfoIcon("A short label for this variant, displayed in the browser."); + printInfoIcon("A short label for this annotation, displayed in the browser."); printf("<BR>\n"); /* Put up editable description. */ safef(varName, sizeof(varName), "%s_%s", trackName, "description"); printf("<B>Description:</B> "); - printInfoIcon("Longer notes or comments about this variant. Displayed on this details page."); + printInfoIcon("Longer notes or comments about this annotation. Displayed on this details page."); printf("<BR>\n"); cgiMakeTextArea(varName, item->description, 8, 80); printf("<BR>\n"); /* Non-editable chromosome. */ printf("<B>Chromosome:</B> %s<BR>\n", item->chrom); /* Editable start and end. */ int chromSize = hChromSize(database, item->chrom); char chromSizeString[16]; safef(chromSizeString, sizeof(chromSizeString), "%d", chromSize); printf("<B>Start:</B> "); safef(varName, sizeof(varName), "%s_%s", trackName, "chromStart"); cgiMakeIntVarInRange(varName, item->chromStart+1, NULL, 80, "1", chromSizeString); printInfoIcon("1-based start position on the chromosome."); @@ -174,31 +174,31 @@ selected = " selected"; currentFound = TRUE; } printf("<option value='%s'%s>%s</option>", proj->name, selected, proj->name); } if (!currentFound && isNotEmpty(item->project)) printf("<option value='%s' selected>%s</option>", item->project, item->project); printf("<option value='__new__'>Add new...</option>"); printf("</select> "); printf("<input type='text' name='%s' id='%s' value='%s' style='display:none'" " placeholder='Enter new project'>", varName, varName, item->project); slFreeList(&projects); } else cgiMakeTextVar(varName, item->project, 40); - printInfoIcon("Group variants by project."); + printInfoIcon("Group annotations by project."); printf("<BR>\n"); } /* Mouseover */ safef(varName, sizeof(varName), "%s_%s", trackName, "mouseover"); printf("<B>Mouseover:</B> "); cgiMakeTextVar(varName, item->mouseover, 60); printInfoIcon("Short text shown when hovering over this item."); printf("<BR>\n"); /* Custom fields */ { struct slName *customCols = myVariantsGetCustomFields(dataOwner); if (customCols) {