035323fe4a88aea8872eb11de17a3800321cf8e7
galt
Wed Jan 18 19:59:51 2023 -0800
code cleanup based on htmlCheck output. refs #7914
diff --git src/hg/hgGene/malaCards.c src/hg/hgGene/malaCards.c
index c33edca..fcad4a0 100644
--- src/hg/hgGene/malaCards.c
+++ src/hg/hgGene/malaCards.c
@@ -30,33 +30,33 @@
return(FALSE);
}
static void malaCardsPrint(struct section *section,
struct sqlConnection *conn, char *geneId)
/* Print out malaCards section. */
{
char query[1024];
struct sqlResult *sr;
char **row;
char *itemName;
sqlSafef(query, sizeof(query), "select k.geneSymbol from kgXref k, malacards m"
" where k.kgId='%s' and k.geneSymbol = m.geneSymbol", geneId);
itemName = sqlQuickString(conn, query);
-printf("MalaCards Gene Search: ");
+printf("MalaCards Gene Search: ");
printf("", itemName);
-printf("%s\n", itemName);
+printf("%s\n", itemName);
/* List diseases associated with the gene */
sqlSafef(query, sizeof(query),
"select maladySymbol, urlSuffix, mainName, round(geneScore), isElite from malacards where geneSymbol='%s' order by geneScore desc",
itemName);
sr = sqlMustGetResult(conn, query);
row = sqlNextRow(sr);
if (row != NULL)
printf("
Diseases sorted by gene-association score: ");
int eliteCount = 0;
while (row != NULL)
{