0290b77a74424ab8332a98eb9e32aceab7be8bee fanhsu Tue Sep 13 08:52:16 2011 -0700 Minor adjustment of <BR> 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("<BR>\n"); printf("<B>OMIM page at NCBI: "); printf("<A HREF=\"%s%s\" target=_blank>", ncbiOmimUrl, itemName); - printf("%s</A></B><BR>", itemName); + printf("%s</A></B>", 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("<B>Gene symbol(s):</B> %s", geneSymbol); + printf("<BR><B>Gene symbol(s):</B> %s", geneSymbol); printf("<BR>\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("<B>Disorder(s):</B><UL>\n"); disorderShown = TRUE; } @@ -9799,34 +9799,34 @@ row = sqlNextRow(sr); if (row != NULL) { if (row[0] != NULL) { title1 = cloneString(row[0]); printf(": %s", title1); } if (row[1] != NULL) { title2 = cloneString(row[1]); printf(" %s ", title2); } } sqlFreeResult(&sr); + printf("<BR>"); // disable NCBI link until they work it out with OMIM /* - printf("<BR>\n"); printf("<B>OMIM page at NCBI: "); printf("<A HREF=\"%s%s\" target=_blank>", ncbiOmimUrl, itemName); printf("%s</A></B><BR>", itemName); */ printf("<B>Location: </B>"); safef(query, sizeof(query), "select location from omimGeneMap where omimId=%s;", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if (row != NULL) { if (row[0] != NULL) { char *locStr;