0716e4729afd2fe9750321279fe0ef6765bf01de
chinhli
Tue Aug 16 13:17:16 2011 -0700
Finished GeneReviews for UCSC knownGenes (hg19)
diff --git src/hg/hgGene/hgGene.c src/hg/hgGene/hgGene.c
index 2c0e9f6..686bb26 100644
--- src/hg/hgGene/hgGene.c
+++ src/hg/hgGene/hgGene.c
@@ -334,31 +334,31 @@
const struct section *a = *((struct section **)va);
const struct section *b = *((struct section **)vb);
float dif = a->priority - b->priority;
if (dif < 0)
return -1;
else if (dif > 0)
return 1;
else
return 0;
}
static void addGoodSection(struct section *section,
struct sqlConnection *conn, struct section **pList)
/* Add section to list if it is non-null and exists returns ok. */
{
-printf("
adding %s section \n", section->name);fflush(stdout); /* here here */
+//printf("
adding %s section \n", section->name);fflush(stdout);
if (section != NULL && hashLookup(section->settings, "hide") == NULL
&& section->exists(section, conn, curGeneId))
slAddHead(pList, section);
}
struct section *loadSectionList(struct sqlConnection *conn)
/* Load up section list - first load up sections.ra, and then
* call each section loader. */
{
struct hash *sectionRa = NULL;
struct section *sectionList = NULL;
readRa("section.ra", §ionRa);
addGoodSection(linksSection(conn, sectionRa), conn, §ionList);
/* disable ortherOrg section for CGB servers for the time being */