fa866be09d952f8c811dfaa29e870ab5504fbebc braney Fri May 3 11:54:09 2013 -0700 a small tweak to snake hgc links diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 78f8609..c4b3db2 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -24004,36 +24004,36 @@ /* Put up page for snakes. */ { genericHeader(tdb, itemName); char *otherSpecies = trackHubSkipHubName(tdb->table) + strlen("snake"); char *hubName = cloneString(database); char *ptr = strchr(hubName + 4, '_'); *ptr = 0; char otherDb[4096]; char *qName = cartOptionalString(cart, "qName"); int qs = atoi(cartOptionalString(cart, "qs")); int qe = atoi(cartOptionalString(cart, "qe")); int qWidth = atoi(cartOptionalString(cart, "qWidth")); safef(otherDb, sizeof otherDb, "%s_%s", hubName, otherSpecies); -printf("Link to block in other species
\n", otherDb, qName, qs, qe,hubName,trackHubSkipHubName(database)); +printf("Link to block in other species
\n", otherDb, qName, qs, qe,hubName,trackHubSkipHubName(database)); int qCenter = (qs + qe) / 2; int newQs = qCenter - qWidth/2; int newQe = qCenter + qWidth/2; -printf("Link to same window size in other species
\n", otherDb, qName, newQs, newQe,hubName,trackHubSkipHubName(database)); +printf("Link to same window size in other species
\n", otherDb, qName, newQs, newQe,hubName,trackHubSkipHubName(database)); } void doMiddle() /* Generate body of HTML. */ { char *track = cartString(cart, "g"); char *item = cloneString(cartOptionalString(cart, "i")); char *parentWigMaf = cartOptionalString(cart, "parentWigMaf"); struct trackDb *tdb = NULL; if (hIsGisaidServer()) { validateGisaidUser(cart);