a1a25461f126677f8e99a7cd07aa2f78089737c4
braney
Thu Mar 1 10:19:33 2018 -0800
don't put the View Schema link on hgTrackUi page for Collections
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index e789ae9..8a12766 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -344,31 +344,31 @@
printf("Metadata:
%s\n", metadataAsHtmlTable(db, tdb, FALSE, FALSE));
boolean schemaLink = trackDataAccessible(db, tdb);
boolean downloadLink = (trackDbSetting(tdb, "wgEncode") != NULL && !tdbIsSuperTrack(tdb));
int links = 0;
if (schemaLink)
links++;
if (downloadLink)
links++;
if (links > 0)
cgiDown(0.7);
if (links > 1)
printf("
View table: "); -if (schemaLink && differentString("longTabix", tdb->type)) +if (schemaLink && differentString("longTabix", tdb->type) && !isCustomComposite(tdb)) // FIXME: hgTables.showSchmaLongTabix is a currently a dummy routine, so let's not got here // until it's implemented { makeSchemaLink(db,tdb,(links > 1 ? "schema":"View table schema")); if (downloadLink) printf(", "); } if (downloadLink) { // special case exception (hg18:NHGRI BiPs are in 7 different dbs but only hg18 has downloads): char *targetDb = trackDbSetting(tdb, "compareGenomeLinks"); if (targetDb != NULL) { targetDb = cloneFirstWordByDelimiter(targetDb,'='); if (!startsWith("hg",targetDb)) |