85479d40835725060b508ff904f94dd87c5c40d5 wisulliv Mon Nov 18 09:01:43 2024 -0800 Removed image from Data homepage to fix pie chart offset. diff --git src/hg/cirm/cdw/cdwWebBrowse/cdwWebBrowse.c src/hg/cirm/cdw/cdwWebBrowse/cdwWebBrowse.c index 6357baf..283166f 100644 --- src/hg/cirm/cdw/cdwWebBrowse/cdwWebBrowse.c +++ src/hg/cirm/cdw/cdwWebBrowse/cdwWebBrowse.c @@ -2003,33 +2003,33 @@ /* print file to stdout. Do nothing if file does not exist. */ { FILE *fh = fopen(fname, "r"); if (fh==NULL) return; char buf[1000]; while (fgets(buf, 1000, fh) != NULL) puts(buf); } char *tagPopularityFields[] = { "tag name", "vals", "popular values (files)...", "files",}; void doHome(struct sqlConnection *conn) /* Put up home/summary page */ { -printf("
"); -printf("\n", 200, 275); -printf(""); +/* printf("
"); */ +/* printf("\n", 200, 275); */ +/* printf(""); */ /* Print sentence with summary of bytes, files, and labs */ char query[256]; printf("The SSPsyGene Staging Portal contains "); sqlSafef(query, sizeof(query), "select sum(size) from cdwFile,cdwValidFile where cdwFile.id=cdwValidFile.id " " and (errorMessage = '' or errorMessage is null)" ); long long totalBytes = sqlQuickLongLong(conn, query); printWithGreekByte(stdout, totalBytes); printf(" of data in "); #ifdef OLD sqlSafef(query, sizeof(query), "select count(*) from cdwFile,cdwValidFile where cdwFile.id=cdwValidFile.fileId " " and (errorMessage = '' or errorMessage is null)"