81291d83afc22635047c8178c46d28aa7271d26b lrnassar Thu Feb 23 14:47:50 2023 -0800 Updating table schema references to the new data format description name, refs #30491 diff --git src/hg/hgTables/identifiers.c src/hg/hgTables/identifiers.c index 150fd3e..bf0b235 100644 --- src/hg/hgTables/identifiers.c +++ src/hg/hgTables/identifiers.c @@ -110,32 +110,32 @@ if (aliasField != NULL) { if (sameString(curTable, xrefTable)) { if (!sameString(idField, aliasField)) hPrintf(", or the <B>%s</B> field.\n", aliasField); else hPrintf(".\n"); } else hPrintf(", or the <B>%s</B> field of the alias table <B>%s</B>.\n", aliasField, xrefTable); } else hPrintf(".\n"); -hPrintf("(The \"describe table schema\" button shows more information about " - "the table fields.)\n"); +hPrintf("(The \"data format description\" button shows more information about " + "the fields in the data.)\n"); // on a browserbox, db is on the UCSC server, so cannot select into db, even if temporary if (!isCustomTrack(curTable) && !hIsBrowserbox() && (conn == NULL || sqlCanCreateTemp(conn))) { struct slName *exampleList = NULL, *ex; hPrintf("Some example values:<BR>\n"); exampleList = getExamples(db, conn, curTable, idField, aliasField != NULL ? 3 : 5); for (ex = exampleList; ex != NULL; ex = ex->next) { char *tmp = htmlEncode(ex->name); hPrintf("<TT>%s</TT><BR>\n", tmp); freeMem(tmp); } @@ -494,32 +494,32 @@ FILE *f = mustOpen(tn.forCgi, "w"); int exampleCount = 0; for (term = missingTerms; term != NULL; term = term->next) { if (exampleCount < 10) { ++exampleCount; dyStringPrintf(exampleMissingIds, "%s\n", term->name); } fprintf(f, "%s\n", term->name); } carefulClose(&f); warn("Note: %d of the %d given identifiers have no match in " "table %s, field %s%s%s%s%s. " - "Try the \"describe table schema\" button for more " - "information about the table and field.\n" + "Try the \"data format description\" button for more " + "information about the data fields and their contents.\n" "%d %smissing identifier(s):\n" "%s\n" "<a href='%s|none|'>Complete list of missing identifiers<a>\n", (totalTerms - foundTerms), totalTerms, curTable, idField, (xrefTable ? (xrefIsSame ? "" : " or in alias table ") : ""), (xrefTable ? (xrefIsSame ? "" : xrefTable) : ""), (xrefTable ? (xrefIsSame ? " or in field " : ", field ") : ""), (xrefTable ? aliasField : ""), exampleCount, exampleCount < missingCount ? "example " : "", exampleMissingIds->string, tn.forHtml ); webNewSection("Table Browser");