e9f82c11e70ade2157ccaea52096968b4e716501 galt Wed Dec 9 20:00:48 2015 -0800 oops fix spelling of chromosome diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index a829102..a45ee80 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -9692,31 +9692,31 @@ synteny100000FreeList((struct synteny100000**)&tg->items); } void loadMouseOrtho(struct track *tg) { bedLoadItem(tg, "mouseOrtho", (ItemLoader)mouseOrthoLoad); slSort(&tg->items, bedCmpPlusScore); } void freeMouseOrtho(struct track *tg) { mouseOrthoFreeList((struct mouseOrtho**)&tg->items); } Color mouseOrthoItemColor(struct track *tg, void *item, struct hvGfx *hvg) -/* Return color of psl track item based on chromsome. */ +/* Return color of psl track item based on chromosome. */ { char chromStr[20]; struct mouseOrtho *ms = item; if (strlen(ms->name) == 8) { strncpy(chromStr,(char *)(ms->name+1),1); chromStr[1] = '\0'; } else if (strlen(ms->name) == 9) { strncpy(chromStr,(char *)(ms->name+1),2); chromStr[2] = '\0'; } else strncpy(chromStr,ms->name,2); @@ -9739,31 +9739,31 @@ tg->drawName = TRUE; } void loadHumanParalog(struct track *tg) { bedLoadItem(tg, "humanParalog", (ItemLoader)humanParalogLoad); slSort(&tg->items, bedCmpPlusScore); } void freeHumanParalog(struct track *tg) { humanParalogFreeList((struct humanParalog**)&tg->items); } Color humanParalogItemColor(struct track *tg, void *item, struct hvGfx *hvg) -/* Return color of psl track item based on chromsome. */ +/* Return color of psl track item based on chromosome. */ { char chromStr[20]; struct humanParalog *ms = item; if (strlen(ms->name) == 8) { strncpy(chromStr,(char *)(ms->name+1),1); chromStr[1] = '\0'; } else if (strlen(ms->name) == 9) { strncpy(chromStr,(char *)(ms->name+1),2); chromStr[2] = '\0'; } else strncpy(chromStr,ms->name,2); @@ -9775,31 +9775,31 @@ char option[128]; char *optionStr ; tg->loadItems = loadHumanParalog; tg->freeItems = freeHumanParalog; safef( option, sizeof(option), "%s.color", tg->track); optionStr = cartUsualString(cart, option, "on"); if( sameString( optionStr, "on" )) /*use anti-aliasing*/ tg->itemColor = humanParalogItemColor; else tg->itemColor = NULL; tg->drawName = TRUE; } Color syntenyItemColor(struct track *tg, void *item, struct hvGfx *hvg) -/* Return color of psl track item based on chromsome. */ +/* Return color of psl track item based on chromosome. */ { char chromStr[20]; struct bed *ms = item; if (strlen(ms->name) == 8) { strncpy(chromStr,(char *)(ms->name+1),1); chromStr[1] = '\0'; } else if (strlen(ms->name) == 9) { strncpy(chromStr,(char *)(ms->name+1),2); chromStr[2] = '\0'; } else {