Commit 6ed199e2 authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

removed some console.logs

parent 3714c0aa
...@@ -189,8 +189,7 @@ app.controller('AnnotationListCtrl', function($rootScope, $scope, $http, $routeP ...@@ -189,8 +189,7 @@ app.controller('AnnotationListCtrl', function($rootScope, $scope, $http, $routeP
// idMatches[3] = simple id (item from second semi-colon to the end, including other semi-colons) // idMatches[3] = simple id (item from second semi-colon to the end, including other semi-colons)
var idMatches = annotation.geneProductId var idMatches = annotation.geneProductId
.match(/([^:][a-z0-9-]+):?(.+[^:-])?(?:-\d+)?:?(.*)?/i); .match(/([^:][a-z0-9-]+):?(.+[^:-])?(?:-\d+)?:?(.*)?/i);
// .match(/(\w+):?(\w+)?(?:-\d+)?:?(.*)?/i);
// console.log("matches:", annotation.geneProductId, idMatches);
if (idMatches[2]) { if (idMatches[2]) {
annotation.geneProductSimpleId = (idMatches[3]) annotation.geneProductSimpleId = (idMatches[3])
? idMatches[2] + ':' +idMatches[3] ? idMatches[2] + ':' +idMatches[3]
......
...@@ -272,7 +272,6 @@ wsService.factory('geneProductService', [ ...@@ -272,7 +272,6 @@ wsService.factory('geneProductService', [
function ($http, ENV) { function ($http, ENV) {
return { return {
getGeneProducts: function (ids) { getGeneProducts: function (ids) {
console.log("gene ids:", ids);
if (typeof ids === Array) { if (typeof ids === Array) {
return $http.get(ENV.apiEndpoint + '/geneproduct/' + ids.join(',')); return $http.get(ENV.apiEndpoint + '/geneproduct/' + ids.join(','));
// return $http.get('//wp-p1m-c9.ebi.ac.uk:8081/QuickGO/services/geneproduct/' + ids.join(',')); // return $http.get('//wp-p1m-c9.ebi.ac.uk:8081/QuickGO/services/geneproduct/' + ids.join(','));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment