a4962d9bdeeb28c7597c5576a362b5ab8d858abf fanhsu Thu Jun 2 17:27:24 2011 -0700 Removed 2 left over lines. diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 33849c7..cf37087 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -10935,31 +10935,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; struct sqlConnection *conn = hAllocConn(database); 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, 56, 11, 97); 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 */ safef(query, sizeof(query), "select omimId, phenotypeClass from omimPhenotype where omimId=%s order by phenotypeClass desc", el->name); sr = sqlMustGetResult(conn, query); @@ -11111,31 +11110,30 @@ Light Gray: for Others */ 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, 56, 11, 97); 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),