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
68db7c41
Commit
68db7c41
authored
Sep 08, 2016
by
Severine Duvaud
Browse files
Fixed issue with empty datasets + added request and mongodb to package.json
parent
0c6f7d58
Changes
3
Hide whitespace changes
Inline
Side-by-side
beacon-app/arraymap-beacon/v0.4/beacon-dataset.js
View file @
68db7c41
...
...
@@ -8,7 +8,7 @@ info.getDatasetsFromArrayMap(function (callback){
infoObject
=
callback
;
});
var
infoObject
=
{};
var
infoObject
=
{
message
:
"
loading datasets from arraymap api, please refresh the page in a few seconds...
"
};
function
checkDatasetIdentifier
(
params
)
{
...
...
beacon-app/arraymap-beacon/v0.4/beacon-info.js
View file @
68db7c41
...
...
@@ -7,10 +7,11 @@ var url = "http://arraymap.org/api/?db=arraymap&api_out=icdmlist&api_out=icdmlis
module
.
exports
=
{
getDatasetsFromArrayMap
:
function
(
callback
)
{
var
object
=
{}
;
var
object
;
request
(
url
,
function
(
error
,
response
,
body
)
{
if
(
!
error
&&
response
.
statusCode
==
200
)
{
object
=
getDatasets
(
JSON
.
parse
(
body
));
console
.
log
(
object
)
callback
(
object
);
}
else
{
...
...
beacon-app/package.json
View file @
68db7c41
...
...
@@ -17,7 +17,9 @@
"monk"
:
"^1.0.1"
,
"morgan"
:
"~1.6.1"
,
"serve-favicon"
:
"~2.3.0"
,
"underscore"
:
"^1.8.3"
"underscore"
:
"^1.8.3"
,
"request"
:
"^2.74.0"
,
"mongodb"
:
"^2.2.4"
},
"devDependencies"
:
{
"mocha"
:
"^3.0.2"
,
...
...
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