035323fe4a88aea8872eb11de17a3800321cf8e7
galt
Wed Jan 18 19:59:51 2023 -0800
code cleanup based on htmlCheck output. refs #7914
diff --git src/hg/hgGene/gad.c src/hg/hgGene/gad.c
index 6b1393c..816476c 100644
--- src/hg/hgGene/gad.c
+++ src/hg/hgGene/gad.c
@@ -57,86 +57,86 @@
{
sqlSafef(query, sizeof(query), "select k.geneSymbol from kgXref k, gadAll g"
" where k.kgId='%s' and k.geneSymbol = g.geneSymbol", geneId);
itemName = sqlQuickString(conn, query);
showCompleteGadList = FALSE;
if (cgiOptionalString("showAllRef") != NULL)
{
if (sameWord(cgiOptionalString("showAllRef"), "Y") ||
sameWord(cgiOptionalString("showAllRef"), "y") )
{
showCompleteGadList = TRUE;
}
}
currentCgiUrl = cgiUrlString();
- printf("Genetic Association Database (archive): ");
+ printf("Genetic Association Database (archive): ");
printf("", url);
- printf("%s\n", itemName);
+ printf("%s\n", itemName);
- printf("
CDC HuGE Published Literature: ");
+ printf("
CDC HuGE Published Literature: ");
printf("",
itemName);
- printf("%s\n", itemName);
+ printf("%s\n", itemName);
/* List diseases associated with the gene */
sqlSafef(query, sizeof(query),
"select distinct broadPhen from gadAll where geneSymbol='%s' and association = 'Y' order by broadPhen",
itemName);
sr = sqlMustGetResult(conn, query);
row = sqlNextRow(sr);
if (row != NULL)
{
upperDisease = replaceChars(row[0], "'", "''");
touppers(upperDisease);
printf("
Positive Disease Associations: ");
printf("");
- printf("%s\n", row[0]);
+ printf("%s\n", row[0]);
row = sqlNextRow(sr);
}
while (row != NULL)
{
upperDisease = replaceChars(row[0], "'", "''");
touppers(upperDisease);
printf(", ");
- printf("%s\n", row[0]);
+ printf("%s\n", row[0]);
row = sqlNextRow(sr);
}
sqlFreeResult(&sr);
refPrinted = 0;
sqlSafef(query, sizeof(query),
"select broadPhen,reference,title,journal, pubMed, conclusion from gadAll where geneSymbol='%s' and association = 'Y' order by broadPhen",
itemName);
sr = sqlMustGetResult(conn, query);
row = sqlNextRow(sr);
if (row != NULL) printf("
Related Studies: