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
827138e4
Commit
827138e4
authored
May 20, 2016
by
Severine Duvaud
Browse files
Added suggestions from Michael
parent
61a0e0fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/node-app/arraymap-beacon/v0.3/beacon-query.js
View file @
827138e4
...
...
@@ -230,13 +230,20 @@ function checkResultAndGetResponse(params, samples, countTotal) {
}
}
var
maxLength
=
0
;
if
(
typeof
params
.
maxLength
!=
undefined
&&
params
.
maxLength
!=
null
&&
params
.
maxLength
!=
''
)
{
maxLength
=
parseInt
(
params
.
maxLength
);
}
var
queryResource
=
{
"
referenceName
"
:
params
.
referenceName
,
"
start
"
:
params
.
start
,
"
assemblyId
"
:
params
.
assemblyId
,
"
datasetIds
"
:
params
.
datasetIds
,
"
alternateBases
"
:
params
.
alternateBases
,
"
length
"
:
length
"
length
"
:
length
,
"
maxLength
"
:
maxLength
};
return
{
...
...
app/node-app/public/js/index.js
View file @
827138e4
...
...
@@ -24,7 +24,7 @@ arrayMap.controller('BeaconController', ['$scope', '$location', function ($scope
"
reference
"
:
"
GRCh38
"
,
"
dataset
"
:
"
all
"
,
"
alternateBases
"
:
"
DEL
"
,
"
length
"
:
'
1
'
,
"
length
"
:
''
,
"
maxLength
"
:
''
}
...
...
app/node-app/public/partials/beacon-home.html
View file @
827138e4
...
...
@@ -51,14 +51,14 @@
<div
class=
"form-group"
>
<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"
>
<input
type=
"text"
class=
"form-control"
id=
"length"
ng-model=
"config.length"
placeholder=
"1"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"position"
class=
"col-sm-2 control-label"
>
Maximal length
</label>
<div
class=
"col-sm-4"
>
<input
type=
"text"
class=
"form-control"
id=
"maxLength"
ng-model=
"config.maxLength"
>
<input
type=
"text"
class=
"form-control"
id=
"maxLength"
ng-model=
"config.maxLength"
placeholder=
"Max bases for the selected chromosome"
>
</div>
</div>
...
...
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