26ae18d9631ffa922a1ec0caa362e7d35bb5578a fanhsu Sun Jun 12 16:01:44 2011 -0700 Removed commented out code. diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index c823773..4ddfece 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -11194,39 +11194,30 @@ lighter.r = (6*normal->r + 4*255) / 10; lighter.g = (6*normal->g + 4*255) / 10; lighter.b = (6*normal->b + 4*255) / 10; lightest.r = (1*normal->r + 2*255) / 3; lightest.g = (1*normal->g + 2*255) / 3; lightest.b = (1*normal->b + 2*255) / 3; class1Clr = hvGfxFindColorIx(hvg, lightest.r, lightest.g, lightest.b); class2Clr = hvGfxFindColorIx(hvg, lighter.r, lighter.g, lighter.b); class3Clr = hvGfxFindColorIx(hvg, normal->r, normal->g, normal->b); class4Clr = hvGfxFindColorIx(hvg, 105,50,155); classOtherClr = hvGfxFindColorIx(hvg, 190, 190, 190); // light gray -/* last try of Brooke's suggestion, the class 1 and 2 are too bright */ -/* -class1Clr = hvGfxFindColorIx(hvg, 125,225,115); -class2Clr = hvGfxFindColorIx(hvg, 35,155,10); -class3Clr = hvGfxFindColorIx(hvg, 10,60,0); -class4Clr = hvGfxFindColorIx(hvg, 105,50,155); -classOtherClr = hvGfxFindColorIx(hvg, 190, 190, 190); // light gray -*/ - struct sqlConnection *conn = hAllocConn(database); safef(query, sizeof(query), "select omimId, phenotypeClass from omimPhenotype where omimId=%s", el->name); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); hFreeConn(&conn); if (row == NULL) { // set to gray if this entry does not have any disorder info sqlFreeResult(&sr); return classOtherClr; }