b5a43eda6548e6d32d9fa32abd96848decd53472 kate Wed Apr 19 07:43:10 2017 -0700 Cleanup FIXME and TODO comments. refs #18736 diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 080b2ba..d6c8a0e 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -7790,31 +7790,30 @@ float realScore = (float)(bed->score - scoreMin) / (scoreMax - scoreMin); bed->score = newScoreMin + (realScore * (scoreMax - newScoreMin)) + 0.5; } else if (scoreMin != 0 && scoreMax == 1000) // Changes gray level even when { // UI does not allow selecting it. float realScore = (float)(bed->score) / 1000; bed->score = scoreMin + (realScore * (scoreMax - scoreMin)) + 0.5; } } static void bedLoadItemByQueryWhere(struct track *tg, char *table, char *query, char *extraWhere, ItemLoader loader) /* Generic itg->item loader, adding extra clause to hgRangeQuery if query is NULL * and extraWhere is not NULL */ { -// KATE TODO: Add bigBed query ? struct sqlConnection *conn = hAllocConn(database); int rowOffset = 0; struct sqlResult *sr = NULL; char **row = NULL; struct slList *itemList = NULL, *item = NULL; if (query == NULL) sr = hRangeQuery(conn, table, chromName, winStart, winEnd, extraWhere, &rowOffset); else sr = sqlGetResult(conn, query); while ((row = sqlNextRow(sr)) != NULL) { item = loader(row + rowOffset);