<commit_before>define([
	"dojo/_base/declare",
	'JBrowse/View/TrackList/Hierarchical'
],
function(declare,Hierarchical) {
	return declare('WebApollo.View.TrackList.Hierarchical',Hierarchical,
	{
		// Subclass method for track selector to remove webapollo specific tracks
		addTracks: function( tracks, inStartup ) {
			for(i=0;i<tracks.length;i++) {
				if(tracks[i].label=="Annotations" || tracks[i].label=="DNA") {
					tracks.splice(i,1);
					i=0;//restart for safety
				}
			}
			//call superclass<commit_msg>+ Made annotation track and sequence track detection more generic + Fixed bug with index resetting<commit_after>define([
	"dojo/_base/declare",
	'JBrowse/View/TrackList/Hierarchical'
],
function(declare,Hierarchical) {
	return declare('WebApollo.View.TrackList.Hierarchical',Hierarchical,
	{
		// Subclass method for track selector to remove webapollo specific tracks
		addTracks: function( tracks, inStartup ) {
			for(var i=0;i<tracks.length;i++) {
				if(tracks[i]["track type"]=="WebApollo/View/Track/AnnotTrack" || tracks[i]["track type"]=="WebApollo/View/Track/AnnotSequenceTrack") {
					tracks.splice(i,1);
					--i;
				}
			}
			//call superclass
{'fraction_non_alphanumeric': 0.14602903501280956, 'fraction_numerical': 0.004269854824935952, 'mean_word_length': 4.717073170731707, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5443147', 'n_tokens_mistral': 469, 'n_tokens_neox': 405, 'n_words': 72}