Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
UniProt
Front End
QuickGoFE
Commits
6ed199e2
Commit
6ed199e2
authored
Aug 20, 2020
by
Mahdi Mahmoudy
Browse files
removed some console.logs
parent
3714c0aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
app/annotationsList/annotationList.js
app/annotationsList/annotationList.js
+1
-2
app/scripts/services/wsService.js
app/scripts/services/wsService.js
+0
-1
No files found.
app/annotationsList/annotationList.js
View file @
6ed199e2
...
...
@@ -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
]
...
...
app/scripts/services/wsService.js
View file @
6ed199e2
...
...
@@ -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(','));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment