Skip to content

Commit ba22b26

Browse files
committed
R test updates
1 parent 4f07858 commit ba22b26

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

server/preprocessing/other-scripts/test/params_base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"min_descsize": 300,
88
"limit": 120,
99
"list_size": 100,
10-
"custom_clustering": "mesh"
10+
"repo": "ftunivbern"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{"funder":"EC",
2-
"project_id":"267439",
2+
"project_id":"643410",
33
"list_size": -1,
44
"vis_id": "TEST_ID"}

server/preprocessing/other-scripts/test/test_base.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ options(warn=1)
77
wd <- dirname(dirname(rstudioapi::getActiveDocumentContext()$path))
88
setwd(wd) #Don't forget to set your working directory
99

10-
query <- "species" #args[2]
10+
query <- "parzival" #args[2]
1111
service <- "base"
1212
params <- NULL
1313
params_file <- "test/params_base.json"

server/preprocessing/other-scripts/test/test_openaire.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ setwd(wd) #Don't forget to set your working directory
99

1010
# query: project acryonm
1111
# params: grant_id and funding_stream
12-
query <- "GRINDOOR" #args[2]
12+
query <- "openaire2020" #args[2]
1313
service <- "openaire"
1414
params <- NULL
1515
params_file <- "test/params_openaire.json"
@@ -71,4 +71,5 @@ if (!exists('output_json')) {
7171
output_json <- enrich_output_json(output_json)
7272
}
7373

74-
print(output_json)
74+
#print(output_json)
75+
output <- fromJSON(output_json)

0 commit comments

Comments
 (0)