src/hg/lib/lsSnpPdbChimera.c 1.5
1.5 2009/11/17 20:16:44 markd
fixed incorrect code generation when no SNPs are mapped to structure
Index: src/hg/lib/lsSnpPdbChimera.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/lsSnpPdbChimera.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/hg/lib/lsSnpPdbChimera.c 13 May 2009 19:05:17 -0000 1.4
+++ src/hg/lib/lsSnpPdbChimera.c 17 Nov 2009 20:16:44 -0000 1.5
@@ -86,10 +86,8 @@
pdbSnps = sqlQueryObjs(conn, (sqlLoadFunc)lsSnpPdbLoad, sqlQueryMulti,
"SELECT * FROM lsSnpPdb WHERE %s", where);
for (pdbSnp = pdbSnps; pdbSnp != NULL; pdbSnp = pdbSnp->next)
prSnp(xfh, pdbSnp, primarySnpId);
-if (pdbSnps == NULL)
- fprintf(xfh, ","); // no table or none selected
lsSnpPdbFreeList(&pdbSnps);
fprintf(xfh, "))\n");