250c1436761a3b38e4fcc5007b70d07d647285ce angie Mon Sep 24 12:41:47 2012 -0700 Pauline found that hgTable's 'describe table schema' page was not showingthe track description for bigDataUrl track types. Hooked those up, and restricted a whitespace tweak to only descriptions that start with
");
if (showItemRgb)
{
for(bed = ct->bedList;bed != NULL && count < 10;bed = bed->next,++count)
bedTabOutNitemRgb(bed, ct->fieldCount, stdout);
}
else
{
for(bed = ct->bedList;bed != NULL && count < 10;bed = bed->next,++count)
bedTabOutN(bed, ct->fieldCount, stdout);
}
hPrintf("\n");
}
}
static void showSchemaCtArray(char *table, struct customTrack *ct)
/* Show schema on bed format custom track. */
{
struct bed *bed;
int count = 0;
/* Find named custom track. */
hPrintf("Custom Track ID: %s ", table);
hPrintf("Field Count: %d");
for(bed = ct->bedList;bed != NULL && count < 10;bed = bed->next,++count)
bedTabOutN(bed, ct->fieldCount, stdout);
hPrintf("\n");
}
}
static void showSchemaWithAsObj(char *db, char *trackId, struct customTrack *ct,
struct asObject *asObj)
/* Show schema on custom track using autoSqlString defined for this track type. */
{
struct sqlConnection *conn = hAllocConn(CUSTOM_TRASH);
char *table = ct->dbTableName;
hPrintf("Genome Database: %s ", db);
hPrintf("Track ID: %s ", trackId);
hPrintf("MySQL table: %s", table);
hPrintf(" Row Count: ");
printLongWithCommas(stdout, sqlTableSize(conn, table));
hPrintf("