<commit_before>define([
	"dojo/_base/declare","dijit/layout/BorderContainer","dojo/on",
	"dojo/dom-class","dijit/layout/ContentPane","dojo/dom-construct",
	"../PageGrid","../formatter"
], function(
	declare, BorderContainer, on,
	domClass,ContentPane,domConstruct,
	Grid,formatter
){
	return declare([BorderContainer], {
		"baseClass": "FeatureList",
		"disabled":false,
		"containerType": "feature_group",
		"query": null,
		_setQueryAttr: function(query){
			this.query = query;
			if (this.viewer){
				this.viewer.set("query", query);
			}
		},
		startup: function(){
			if (this._started) {return;}
/*			this.viewHeader = new ContentPane({content: "FeatureList Viewer", region: "top"});*/
			this.viewer = new Grid({
				region: "center",
				query: (this.query||""),
				apiToken: window.App.authorizationToken,
				apiServer: window.App.dataAPI,
				dataModel: "genome_feature",
				primaryKey: "feature_id",
				columns: {
					genome_name: {label: "Genome Name", field: "genome_name", hidden: false},
					accession: {label: "Accession", field: "accession", hidden: true},
					seed_id: {label: "PATRIC ID", field: "seed_id", hidden: false},
					refseq_locus_tag: {label: "RefSeq Locus Tag", field: "refseq_locus_tag", hidden: false},
					alt_locus_tag: {label: "Alt Locus Tag", field: "alt_locus_tag", hidden: false},
					feature_id: {label: "Feature ID", field: "feature_id", hidden: true},
					annotation: {label: "Annotation", field: "annotation", hidden: true},
					feature_type: {label: "Feature Type", field: "feature_type", hidden: true},
					start: {label: "Start", field: "start", hidden: true},
					end: {label: "END", field: "end", hidden: true},
					na_length: {label: "NA Length", field: "na_length", hidden: true},
					strand: {label: "Strand", field: "strand", hidden: true},
					protein_id: {label: "Protein ID", field: "protein_id", hidden: true},
					aa_length: {label: "AA Length", field: "aa_length", hidden: true},
					gene: {label: "Gene Symbol", field: "gene", hidden: false},
					product: {label: "Product", field: "product", hidden: false}
				}
			});<commit_msg>add s/seed_id/patric_id in Feature Group list. refs #241<commit_after>define([
	"dojo/_base/declare","dijit/layout/BorderContainer","dojo/on",
	"dojo/dom-class","dijit/layout/ContentPane","dojo/dom-construct",
	"../PageGrid","../formatter"
], function(
	declare, BorderContainer, on,
	domClass,ContentPane,domConstruct,
	Grid,formatter
){
	return declare([BorderContainer], {
		"baseClass": "FeatureList",
		"disabled":false,
		"containerType": "feature_group",
		"query": null,
		_setQueryAttr: function(query){
			this.query = query;
			if (this.viewer){
				this.viewer.set("query", query);
			}
		},
		startup: function(){
			if (this._started) {return;}
/*			this.viewHeader = new ContentPane({content: "FeatureList Viewer", region: "top"});*/
			this.viewer = new Grid({
				region: "center",
				query: (this.query||""),
				apiToken: window.App.authorizationToken,
				apiServer: window.App.dataAPI,
				dataModel: "genome_feature",
				primaryKey: "feature_id",
				columns: {
					genome_name: {label: "Genome Name", field: "genome_name", hidden: false},
					accession: {label: "Accession", field: "accession", hidden: true},
					patric_id: {label: "PATRIC ID", field: "patric_id", hidden: false},
					refseq_locus_tag: {label: "RefSeq Locus Tag", field: "refseq_locus_tag", hidden: false},
					alt_locus_tag: {label: "Alt Locus Tag", field: "alt_locus_tag", hidden: false},
					feature_id: {label: "Feature ID", field: "feature_id", hidden: true},
					annotation: {label: "Annotation", field: "annotation", hidden: true},
					feature_type: {label: "Feature Type", field: "feature_type", hidden: true},
					start: {label: "Start", field: "start", hidden: true},
					end: {label: "END", field: "end", hidden: true},
					na_length: {label: "NA Length", field: "na_length", hidden: true},
					strand: {label: "Strand", field: "strand", hidden: true},
					protein_id: {label: "Protein ID", field: "protein_id", hidden: true},
					aa_length: {label: "AA Length", field: "aa_length", hidden: true},
					gene: {label: "Gene Symbol", field: "gene", hidden: false},
					product: {label: "Product", field: "product", hidden: false}
				}
			});
{'fraction_non_alphanumeric': 0.17794427534535237, 'fraction_numerical': 0.0007024116132053383, 'mean_word_length': 4.5697522816166884, 'pattern_counts': {'":': 8, '<': 3, '<?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': '5095745', 'n_tokens_mistral': 1678, 'n_tokens_neox': 1415, 'n_words': 365}