0ccdf5567e3bebd6c9fb5737c0fa06302998a1f6 chmalee Fri Aug 30 10:20:26 2019 -0700 Changing comment from ls-snp to mupit as per code review, refs #24047 diff --git src/hg/lib/lsSnpPdbChimera.c src/hg/lib/lsSnpPdbChimera.c index a7ce67c..f59ad78 100644 --- src/hg/lib/lsSnpPdbChimera.c +++ src/hg/lib/lsSnpPdbChimera.c @@ -130,41 +130,41 @@ { char query[256], buf[32]; sqlSafef(query, sizeof(query), "SELECT structType FROM lsSnpPdb WHERE (pdbId = \"%s\")", pdbId); char *structType = sqlNeedQuickQuery(conn, query, buf, sizeof(buf)); if (sameString(structType, "XRay")) return "X-Ray"; else if (sameString(structType, "NMR")) return "NMR"; else return NULL; } boolean lsSnpPdbHasPdb(struct sqlConnection *conn, char *pdbId) -/* determine if the specified PDB has any entries in LS-SNP */ +/* determine if the specified PDB has any entries in MuPIT (formerly LS-SNP) */ { if (!sqlTableExists(conn, "knownToMupit")) return FALSE; char query[256], buf[64]; sqlSafef(query, sizeof(query), "SELECT value FROM knownToMupit WHERE value = \"%s\" limit 1", pdbId); return (sqlQuickQuery(conn, query, buf, sizeof(buf)) != NULL); } char *lsSnpPdbGetUrlPdbSnp(char *pdbId, char *snpId) -/* get LS-SNP/PDB URL for a particular PDB and/or SNP. One or the two +/* get MuPIT (formerly LS-SNP) URL for a particular PDB and/or SNP. One or the two * ids maybe null */ { char url[256]; safecpy(url, sizeof(url), "http://mupit.icm.jhu.edu/MuPIT_Interactive/?structure_id="); if (pdbId != NULL) { safecat(url, sizeof(url), pdbId); } return cloneString(url); } void lsSnpPdbChimeraGenericLink(char *pdbSpec, char *script, char *trashDirName, char *trashBaseName, struct tempName *chimerax) /* Generate a chimerax file for the given pdbSpec, which can be a PDB id or a