interface/src/app/gene/searchFew/searchFew.js
Function controller
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($scope, $state, Gene, SelectedGenesFactory, CommonGeneFuncts) {
var numResultsToReturn = 10;
$scope.errors = null;
$scope.autocompleteQuery = '';
$scope.selectedGenes = SelectedGenesFactory.returnGenes();
Function searchGenes
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.searchGenes = function(val) {
$scope.loadingGenes = true;
var qparams = {
'query': val,
'organism': $scope.organism
Function controller
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($scope, $state, Gene, SelectedGenesFactory, CommonGeneFuncts) {