70fc328236e32b391c3fa3cc88fb92fcb91ffa6a gperez2 Tue May 7 14:17:48 2024 -0700 Fixing Malacards link and removing the hprd link since the website is not working, refs #33080 diff --git src/hg/hgGene/malaCards.c src/hg/hgGene/malaCards.c index fcad4a0..c906865 100644 --- src/hg/hgGene/malaCards.c +++ src/hg/hgGene/malaCards.c @@ -31,31 +31,31 @@ } 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("", itemName); +printf("", 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)