Skip to content

Commit f429539

Browse files
authored
Merge pull request #590 from OpenKnowledgeMaps/renv-cleanup
Renv cleanup
2 parents 78afefa + 06a4ef3 commit f429539

6 files changed

Lines changed: 7 additions & 53 deletions

File tree

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"document_types":["121"],
33
"from":"1665-01-01",
4-
"to":"2020-03-13",
4+
"to":"2021-10-07",
55
"sorting":"most-relevant",
66
"lang_id":"eng",
77
"vis_id": "TEST_ID",
8-
"min_descsize": 300,
9-
"coll": "at"
8+
"min_descsize": 300
109
}

server/workers/base/renv.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -530,18 +530,6 @@
530530
"Source": "CRAN",
531531
"Hash": "c41c1a1ade8ced1887350214cec755bd"
532532
},
533-
"ropenaire": {
534-
"Package": "ropenaire",
535-
"Version": "0.1.7.9210",
536-
"Source": "GitHub",
537-
"RemoteType": "github",
538-
"RemoteHost": "api.github.com",
539-
"RemoteRepo": "ropenaire",
540-
"RemoteUsername": "sckott",
541-
"RemoteRef": "master",
542-
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
543-
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
544-
},
545533
"rplos": {
546534
"Package": "rplos",
547535
"Version": "0.8.6",

server/workers/dataprocessing/renv.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -530,18 +530,6 @@
530530
"Source": "CRAN",
531531
"Hash": "c41c1a1ade8ced1887350214cec755bd"
532532
},
533-
"ropenaire": {
534-
"Package": "ropenaire",
535-
"Version": "0.1.7.9210",
536-
"Source": "GitHub",
537-
"RemoteType": "github",
538-
"RemoteHost": "api.github.com",
539-
"RemoteRepo": "ropenaire",
540-
"RemoteUsername": "sckott",
541-
"RemoteRef": "master",
542-
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
543-
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
544-
},
545533
"rplos": {
546534
"Package": "rplos",
547535
"Version": "0.8.6",

server/workers/openaire/renv.lock

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,9 @@
536536
"Source": "GitHub",
537537
"RemoteType": "github",
538538
"RemoteHost": "api.github.com",
539-
"RemoteRepo": "ropenaire",
539+
"RemoteRepo": "OpenKnowledgeMaps",
540540
"RemoteUsername": "sckott",
541-
"RemoteRef": "master",
542-
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
543-
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
541+
"RemoteRef": "master"
544542
},
545543
"rplos": {
546544
"Package": "rplos",

server/workers/pubmed/renv.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -534,18 +534,6 @@
534534
"Source": "CRAN",
535535
"Hash": "c41c1a1ade8ced1887350214cec755bd"
536536
},
537-
"ropenaire": {
538-
"Package": "ropenaire",
539-
"Version": "0.1.7.9210",
540-
"Source": "GitHub",
541-
"RemoteType": "github",
542-
"RemoteHost": "api.github.com",
543-
"RemoteRepo": "ropenaire",
544-
"RemoteUsername": "sckott",
545-
"RemoteRef": "master",
546-
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
547-
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
548-
},
549537
"rplos": {
550538
"Package": "rplos",
551539
"Version": "0.8.6",

server/workers/tests/test_helpers.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,9 @@
88
from tqdm import tqdm
99

1010
from .conftest import RANDOM
11-
from ..services.src.apis.utils import get_key
12-
13-
redis_config = {
14-
"host": os.getenv("REDIS_HOST"),
15-
"port": os.getenv("REDIS_PORT"),
16-
"db": os.getenv("REDIS_DB"),
17-
"password": os.getenv("REDIS_PASSWORD")
18-
}
19-
redis_store = redis.StrictRedis(**redis_config)
11+
from ..api.src.apis.utils import get_key
2012

13+
# connect via nginx to APIs and submit tests
2114

2215
def get_stopwords(lang):
2316
try:
@@ -92,7 +85,7 @@ def data_generation(KNOWNCASES, RANDOMCASES):
9285

9386
KNOWNCASES = get_cases("knowncases")
9487
RANDOMCASES = get_cases("randomcases")
95-
TRIPLE = get_cases("triple")
88+
#TRIPLE = get_cases("triple")
9689

9790
CASENAMES, CASEDATA = data_generation(KNOWNCASES, RANDOMCASES)
9891
CASENAMES.sort()

0 commit comments

Comments
 (0)