13a74772a9f4e38f7d13746542de8733a998c07f markd Sun Dec 13 11:07:22 2020 -0800 don't add next/prev item to snakes, they are not implemented and crash in a confusing way in code for database tracks diff --git src/hg/hgTracks/snakeTrack.c src/hg/hgTracks/snakeTrack.c index 65eadb5..35ec460 100644 --- src/hg/hgTracks/snakeTrack.c +++ src/hg/hgTracks/snakeTrack.c @@ -1532,30 +1532,31 @@ void halSnakeMethods(struct track *tg, struct trackDb *tdb, int wordCount, char *words[]) { linkedFeaturesMethods(tg); tg->canPack = tdb->canPack = TRUE; tg->loadItems = halSnakeLoadItems; tg->drawItems = snakeDraw; tg->mapItemName = lfMapNameFromExtra; tg->subType = lfSubChain; //tg->extraUiData = (void *) chainCart; tg->totalHeight = snakeHeight; tg->drawLeftLabels = halSnakeDrawLeftLabels; tg->drawItemAt = snakeDrawAt; tg->itemHeight = snakeItemHeight; +tg->nextItemButtonable = FALSE; } #endif // USE_HAL #ifdef NOTNOW // from here down are routines to support the visualization of chains as snakes // this code is currently BROKEN, and may be removed completely in the future struct cartOptions { enum chainColorEnum chainColor; /* ChromColors, ScoreColors, NoColors */ int scoreFilter ; /* filter chains by score if > 0 */ }; // mySQL code to read in chains