fac6f1db370338b0f775b60037e66fc2aac3cfdd kate Tue Jan 30 16:54:25 2018 -0800 Beginnings of details page for interact track. refs #17512 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 087cdc0..aad355f 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -4325,30 +4325,32 @@ doBedDetail(tdb, NULL, item); } else if (sameString(type, "interaction") ) { int num = 12; genericBedClick(conn, tdb, item, start, num); } else if (startsWith("gvf", type)) { doGvf(tdb, item); } else if (sameString(type, "bam")) doBamDetails(tdb, item); else if ( startsWith("longTabix", type)) doLongTabix(tdb, item); + else if (sameWord("interact", type)) + doInteractDetails(tdb, item); } if (imagePath) { char *bigImagePath = trackDbSettingClosestToHome(tdb, ITEM_BIG_IMAGE_PATH); char *bothWords[2]; int shouldBeTwo = chopLine(imagePath, bothWords); if (shouldBeTwo != 2) errAbort("itemImagePath setting for %s track incorrect. Needs to be \"itemImagePath <path> <suffix>\".", tdb->track); printf("<BR><IMG SRC=\"%s/%s.%s\"><BR><BR>\n", bothWords[0], item, bothWords[1]); shouldBeTwo = chopLine(bigImagePath, bothWords); if (shouldBeTwo != 2) errAbort("bigItemImagePath setting for %s track incorrect. Needs to be \"itemImagePath <path> <suffix>\".", tdb->track); printf("<A HREF=\"%s/%s.%s\">Download Original Image</A><BR>\n", bothWords[0], item, bothWords[1]); }