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
// idMatches[3] = simple id (item from second semi-colon to the end, including other semi-colons)
var idMatches = annotation.geneProductId
.match(/([^:][a-z0-9-]+):?(.+[^:-])?(?:-\d+)?:?(.*)?/i);
// .match(/(\w+):?(\w+)?(?:-\d+)?:?(.*)?/i);
// console.log("matches:", annotation.geneProductId, idMatches);
if (idMatches[2]) {
annotation.geneProductSimpleId = (idMatches[3])
? idMatches[2] + ':' +idMatches[3]
......
......@@ -272,7 +272,6 @@ wsService.factory('geneProductService', [
function ($http, ENV) {
return {
getGeneProducts: function (ids) {
console.log("gene ids:", ids);
if (typeof ids === Array) {
return $http.get(ENV.apiEndpoint + '/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