e91ede5d7c99da66098240cc7b2e9d2fe1ca74c3
ceisenhart
  Mon May 15 14:00:27 2017 -0700
Updating COSMIC code so it is backwards compatible, refs #14461

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 4d7f9bb..b602aa6 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -26505,31 +26505,31 @@
     {
     doParDetails(tdb, item);
     }
 else if (startsWith("pubs", table))
     {
     doPubsDetails(tdb, item);
     }
 else if (tdb != NULL && startsWith("bedDetail", tdb->type))
     {
     doBedDetail(tdb, NULL, item);
     }
 else if (startsWith("numtS", table))
     {
     doNumtS(tdb, item);
     }
-else if (startsWith("cosmic", table))
+else if (sameString("cosmic", table))
     {
     doCosmic(tdb, item);
     }
 else if (sameString("geneReviews", table))
     {
     doGeneReviews(tdb, item);
     }
 else if (startsWith("qPcrPrimers", table))
     {
     doQPCRPrimers(tdb, item);
     }
 else if (sameString("lrg", table))
     {
     doLrg(tdb, item);
     }