<commit_before>'use strict';

/**
 * @ngdoc function
 * @name ocwUiApp.controller:DatasetDisplayCtrl
 * @description
 * # DatasetDisplayCtrl
 * Controller of the ocwUiApp
 */
angular.module('ocwUiApp')
  .controller('DatasetDisplayCtrl', ['$rootScope', '$scope', 'selectedDatasetInformation', 
    function($rootScope, $scope, selectedDatasetInformation) {
	$scope.datasets = selectedDatasetInformation.getDatasets();

	$scope.removeDataset = function($index) {
	  selectedDatasetInformation.removeDataset($index);
	}

	$scope.setRegridBase = function(index) {
      for (var i = 0; i < $scope.datasets.length; i++) {
        $scope.datasets[i].regrid = ((i == index) ? $scope.datasets[i].regrid : false);
      }
	}
}]);
<commit_msg>Fix datasetdisplay indentation and linting errors<commit_after>'use strict';

/**
 * @ngdoc function
 * @name ocwUiApp.controller:DatasetDisplayCtrl
 * @description
 * # DatasetDisplayCtrl
 * Controller of the ocwUiApp
 */
angular.module('ocwUiApp')
  .controller('DatasetDisplayCtrl', ['$rootScope', '$scope', 'selectedDatasetInformation', 
    function($rootScope, $scope, selectedDatasetInformation) {
	  $scope.datasets = selectedDatasetInformation.getDatasets();

	  $scope.removeDataset = function($index) {
	    selectedDatasetInformation.removeDataset($index);
	  };

	  $scope.setRegridBase = function(index) {
        for (var i = 0; i < $scope.datasets.length; i++) {
          $scope.datasets[i].regrid = ((i === index) ? $scope.datasets[i].regrid : false);
        }
	  };
}]);

{'fraction_non_alphanumeric': 0.15278688524590164, 'fraction_numerical': 0.0013114754098360656, 'mean_word_length': 4.610294117647059, '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': '4668515', 'n_tokens_mistral': 475, 'n_tokens_neox': 477, 'n_words': 83}