0290b77a74424ab8332a98eb9e32aceab7be8bee fanhsu Tue Sep 13 08:52:16 2011 -0700 Minor adjustment of
due to removal of OMIM NCBI link. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index d8c32e5..7d9c66f 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -9640,49 +9640,49 @@ printf(" %s", title1); } if (row[1] != NULL) { title2 = cloneString(row[1]); printf(" %s ", title2); } } sqlFreeResult(&sr); // disable NCBI link until they work it out with OMIM /* printf("
\n"); printf("OMIM page at NCBI: "); printf("", ncbiOmimUrl, itemName); - printf("%s
", itemName); + printf("%s", itemName); */ safef(query, sizeof(query), "select geneSymbol from omimGeneMap where omimId=%s;", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if (row != NULL) { geneSymbol = cloneString(row[0]); } sqlFreeResult(&sr); if (geneSymbol!= NULL) { boolean disorderShown; char *phenotypeClass, *phenotypeId, *disorder; - printf("Gene symbol(s): %s", geneSymbol); + printf("
Gene symbol(s): %s", geneSymbol); printf("
\n"); /* display disorder(s) */ safef(query, sizeof(query), "select description, %s, phenotypeId from omimPhenotype where omimId=%s order by description", omimPhenotypeClassColName, itemName); sr = sqlMustGetResult(conn, query); disorderShown = FALSE; while ((row = sqlNextRow(sr)) != NULL) { if (!disorderShown) { printf("Disorder(s):