0af118f6a3d6f67c6f998028b5a5b83e19a0cd0c
braney
Thu Mar 20 10:24:56 2014 -0700
fix a couple of linkout problems with UCSC genes, #12639
diff --git src/hg/hgGene/go.c src/hg/hgGene/go.c
index 3379fa6..af2ffc2 100644
--- src/hg/hgGene/go.c
+++ src/hg/hgGene/go.c
@@ -74,31 +74,31 @@
" where goaPart.dbObjectId = '%s'"
" and goaPart.goId = term.acc"
" and goaPart.aspect = '%s'"
, acc, aspects[aspectIx]);
sr = sqlGetResult(goConn, query);
while ((row = sqlNextRow(sr)) != NULL)
{
char *goID = row[0];
char *goTermName = row[1];
if (!hasFirst)
{
hPrintf("%s:
", aspectNames[aspectIx]);
hasFirst = TRUE;
}
hPrintf("%s %s
\n", goID, goTermName);
}
if (hasFirst)
hPrintf("
");
sqlFreeResult(&sr);
}
hFreeConn(&goConn);
}
struct section *goSection(struct sqlConnection *conn,
struct hash *sectionRa)
/* Create GO annotations section. */
{
struct section *section = sectionNew(sectionRa, "go");
section->exists = goExists;