f9b4992f9426da623324256902705a28c9a82ba0
braney
Fri Jun 27 13:01:32 2014 -0700
change "species" to "assembly" in snake hgc clicks
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 17f98ec..e6932cf 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -24194,36 +24194,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 assembly
\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 assembly
\n", otherDb, qName, newQs, newQe,hubName,trackHubSkipHubName(database));
}
bool vsameWords(char *a, va_list args)
/* returns true if a is sameWord as any arg, all args must be char* */
{
bool found = FALSE;
char *b;
while ((b = va_arg(args, char *)) != NULL)
{
if (sameWord(a, b))
{
found = TRUE;
break;
}
}