Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ST
ga4gh-arraymap
Commits
e5fcf121
Commit
e5fcf121
authored
May 20, 2016
by
Severine Duvaud
Browse files
Starting with Michael's comments
parent
ffb3fb08
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/node-app/arraymap-beacon/v0.3/beacon-query.js
View file @
e5fcf121
...
...
@@ -83,9 +83,14 @@ function buildMongoQuery(params) {
var
length
=
0
;
if
(
params
.
alternateBases
==
'
DEL
'
)
{
length
=
(
params
.
length
.
length
==
0
?
0
:
parseInt
(
params
.
length
));
if
(
typeof
params
.
length
!=
undefined
&&
params
.
length
!=
null
&&
params
.
length
!=
''
)
{
length
=
(
params
.
length
.
length
==
0
?
0
:
parseInt
(
params
.
length
));
}
}
console
.
log
(
"
*** LENGTH:
"
+
length
);
var
andConditions
=
[];
var
orConditions
=
[];
...
...
app/node-app/public/js/index.js
View file @
e5fcf121
...
...
@@ -23,7 +23,7 @@ arrayMap.controller('BeaconController', ['$scope', '$location', function ($scope
"
reference
"
:
"
GRCh38
"
,
"
dataset
"
:
"
all
"
,
"
alternateBases
"
:
"
DEL
"
,
"
length
"
:
''
"
length
"
:
'
1
'
}
$scope
.
getNewApiUrl
=
function
()
{
...
...
app/node-app/public/partials/beacon-home.html
View file @
e5fcf121
...
...
@@ -49,9 +49,9 @@
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"position"
class=
"col-sm-2 control-label"
>
Length
</label>
<label
for=
"position"
class=
"col-sm-2 control-label"
>
Minimal
Length
</label>
<div
class=
"col-sm-4"
>
<input
type=
"text"
class=
"form-control"
id=
"length"
ng-model=
"config.length"
placeholder=
"Length"
>
<input
type=
"text"
class=
"form-control"
id=
"length"
ng-model=
"config.length"
>
</div>
</div>
<div
class=
"form-group"
>
...
...
Write
Preview
Supports
Markdown
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