330b714d5af720037262c6f8b7bb66598076fd03 jcasper Mon Aug 29 16:51:12 2016 -0700 Fixing URL to Pfam Domains page from hgGene, refs #15342 diff --git src/hg/hgGene/domains.c src/hg/hgGene/domains.c index d73cdb2..e36859e 100644 --- src/hg/hgGene/domains.c +++ src/hg/hgGene/domains.c @@ -83,31 +83,31 @@ { /* Do Pfam domains here. */ list = getPfamDomainList(conn, geneId); if (list != NULL) { hPrintf("Pfam Domains:
"); for (el = list; el != NULL; el = el->next) { char query[256]; char *description; sqlSafef(query, sizeof(query), "select description from pfamDesc where pfamAC='%s'", el->name); description = sqlQuickString(conn, query); if (description == NULL) description = cloneString("n/a"); - hPrintf("", + hPrintf("", el->name); hPrintf("%s - %s
\n", el->name, description); freez(&description); } slFreeList(&list); hPrintf("
\n"); } /* Do SCOP domains here */ list = getDomainList(conn, geneId, "Scop"); if (list != NULL) { hPrintf("SCOP Domains:
"); for (el = list; el != NULL; el = el->next) { @@ -130,31 +130,31 @@ else { list = spExtDbAcc1List(spConn, swissProtAcc, "Pfam"); if (list != NULL) { char *pfamDescSql = genomeSetting("pfamDescSql"); hPrintf("Pfam Domains:
"); for (el = list; el != NULL; el = el->next) { char query[256]; char *description; sqlSafef(query, sizeof(query), pfamDescSql, el->name); description = sqlQuickString(conn, query); if (description == NULL) description = cloneString("n/a"); - hPrintf("", + hPrintf("", el->name); hPrintf("%s - %s
\n", el->name, description); freez(&description); } slFreeList(&list); hPrintf("
\n"); } } list = spExtDbAcc1List(spConn, swissProtAcc, "PDB"); if (list != NULL) { struct sqlConnection *conn2 = sqlConnect(db); char query[256], **row; struct sqlResult *sr;