<commit_before>define([
		"dojo/_base/declare", "dgrid/Grid", "dojo/store/JsonRest", "dgrid/extensions/DijitRegistry", "dgrid/extensions/Pagination",
		"dgrid/Keyboard", "dgrid/Selection", "./formatter", "dgrid/extensions/ColumnResizer", "dgrid/extensions/ColumnHider",
		"dgrid/extensions/DnD", "dojo/dnd/Source", "dojo/_base/Deferred", "dojo/aspect", "dojo/_base/lang"],
	function(declare, Grid, Store, DijitRegistry, Pagination,
			 Keyboard, Selection, formatter, ColumnResizer,
			 ColumnHider, DnD, DnDSource,
			 Deferred, aspect, lang) {
		return declare([Grid, Pagination, ColumnHider, Keyboard, ColumnResizer, DijitRegistry, Selection], {
			constructor: function() {
				this.dndParams.creator = lang.hitch(this, function(item, hint) {
					//console.log("item: ", item, " hint:", hint, "dataType: ", this.dndDataType);
					var avatar = dojo.create("div", {innerHTML: item.organism_name || item.ncbi_taxon_id || item.id});
					avatar.data = item;
					if(hint == 'avatar'){
						// create your avatar if you want
					}
					return {node: avatar, data: item, type: this.dndDataType}
				})
			},
			store: null,
			selectionMode: "extended",
			allowTextSelection: false,
			allowSelectAll: true,
			deselectOnRefresh: false,
			rowsPerPage: 25,
			minRowsPerPage: 25,
			bufferRows: 100,
			maxRowsPerPage: 200,
			pagingDelay: 250,
//		pagingMethod: "throttleDelayed",
			farOffRemoval: 2000,
			keepScrollPosition: true,
			rowHeight: 24,
			loadingMessage: "Loading...",
			primaryKey: "id",
			dndDataType: "genome",
			dndParams: {
				accept: "none",
				selfAccept: false,
				copyOnly: true
			},
			_setApiServer: function(server, token) {
				//console.log("_setapiServerAttr: ", server);
				this.apiServer = server;
				var t = token || this.apiToken || "";<commit_msg>reset rows Per page for pagegrid from accidental commit of different value<commit_after>define([
		"dojo/_base/declare", "dgrid/Grid", "dojo/store/JsonRest", "dgrid/extensions/DijitRegistry", "dgrid/extensions/Pagination",
		"dgrid/Keyboard", "dgrid/Selection", "./formatter", "dgrid/extensions/ColumnResizer", "dgrid/extensions/ColumnHider",
		"dgrid/extensions/DnD", "dojo/dnd/Source", "dojo/_base/Deferred", "dojo/aspect", "dojo/_base/lang"],
	function(declare, Grid, Store, DijitRegistry, Pagination,
			 Keyboard, Selection, formatter, ColumnResizer,
			 ColumnHider, DnD, DnDSource,
			 Deferred, aspect, lang) {
		return declare([Grid, Pagination, ColumnHider, Keyboard, ColumnResizer, DijitRegistry, Selection], {
			constructor: function() {
				this.dndParams.creator = lang.hitch(this, function(item, hint) {
					//console.log("item: ", item, " hint:", hint, "dataType: ", this.dndDataType);
					var avatar = dojo.create("div", {innerHTML: item.organism_name || item.ncbi_taxon_id || item.id});
					avatar.data = item;
					if(hint == 'avatar'){
						// create your avatar if you want
					}
					return {node: avatar, data: item, type: this.dndDataType}
				})
			},
			store: null,
			selectionMode: "extended",
			allowTextSelection: false,
			allowSelectAll: true,
			deselectOnRefresh: false,
			rowsPerPage: 200,
			minRowsPerPage: 25,
			bufferRows: 100,
			maxRowsPerPage: 200,
			pagingDelay: 250,
//		pagingMethod: "throttleDelayed",
			farOffRemoval: 2000,
			keepScrollPosition: true,
			rowHeight: 24,
			loadingMessage: "Loading...",
			primaryKey: "id",
			dndDataType: "genome",
			dndParams: {
				accept: "none",
				selfAccept: false,
				copyOnly: true
			},
			_setApiServer: function(server, token) {
				//console.log("_setapiServerAttr: ", server);
				this.apiServer = server;
				var t = token || this.apiToken || "";
{'fraction_non_alphanumeric': 0.1477832512315271, 'fraction_numerical': 0.010673234811165846, 'mean_word_length': 4.034435261707989, 'pattern_counts': {'":': 0, '<': 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': '4868973', 'n_tokens_mistral': 1493, 'n_tokens_neox': 1222, 'n_words': 265}