Skip to content

Commit

Permalink
Merge pull request #590 from OpenKnowledgeMaps/renv-cleanup
Browse files Browse the repository at this point in the history
Renv cleanup
  • Loading branch information
chreman authored Oct 10, 2021
2 parents 78afefa + 06a4ef3 commit f429539
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 53 deletions.
5 changes: 2 additions & 3 deletions server/preprocessing/other-scripts/test/params_base.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"document_types":["121"],
"from":"1665-01-01",
"to":"2020-03-13",
"to":"2021-10-07",
"sorting":"most-relevant",
"lang_id":"eng",
"vis_id": "TEST_ID",
"min_descsize": 300,
"coll": "at"
"min_descsize": 300
}
12 changes: 0 additions & 12 deletions server/workers/base/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -530,18 +530,6 @@
"Source": "CRAN",
"Hash": "c41c1a1ade8ced1887350214cec755bd"
},
"ropenaire": {
"Package": "ropenaire",
"Version": "0.1.7.9210",
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteRepo": "ropenaire",
"RemoteUsername": "sckott",
"RemoteRef": "master",
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
},
"rplos": {
"Package": "rplos",
"Version": "0.8.6",
Expand Down
12 changes: 0 additions & 12 deletions server/workers/dataprocessing/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -530,18 +530,6 @@
"Source": "CRAN",
"Hash": "c41c1a1ade8ced1887350214cec755bd"
},
"ropenaire": {
"Package": "ropenaire",
"Version": "0.1.7.9210",
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteRepo": "ropenaire",
"RemoteUsername": "sckott",
"RemoteRef": "master",
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
},
"rplos": {
"Package": "rplos",
"Version": "0.8.6",
Expand Down
6 changes: 2 additions & 4 deletions server/workers/openaire/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,9 @@
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteRepo": "ropenaire",
"RemoteRepo": "OpenKnowledgeMaps",
"RemoteUsername": "sckott",
"RemoteRef": "master",
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
"RemoteRef": "master"
},
"rplos": {
"Package": "rplos",
Expand Down
12 changes: 0 additions & 12 deletions server/workers/pubmed/renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -534,18 +534,6 @@
"Source": "CRAN",
"Hash": "c41c1a1ade8ced1887350214cec755bd"
},
"ropenaire": {
"Package": "ropenaire",
"Version": "0.1.7.9210",
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteRepo": "ropenaire",
"RemoteUsername": "sckott",
"RemoteRef": "master",
"RemoteSha": "64ed2560741e53b850fccd70ecf379721ca244fd",
"Hash": "d69c0d5e5c613f7a5e02c2622088303f"
},
"rplos": {
"Package": "rplos",
"Version": "0.8.6",
Expand Down
13 changes: 3 additions & 10 deletions server/workers/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@
from tqdm import tqdm

from .conftest import RANDOM
from ..services.src.apis.utils import get_key

redis_config = {
"host": os.getenv("REDIS_HOST"),
"port": os.getenv("REDIS_PORT"),
"db": os.getenv("REDIS_DB"),
"password": os.getenv("REDIS_PASSWORD")
}
redis_store = redis.StrictRedis(**redis_config)
from ..api.src.apis.utils import get_key

# connect via nginx to APIs and submit tests

def get_stopwords(lang):
try:
Expand Down Expand Up @@ -92,7 +85,7 @@ def data_generation(KNOWNCASES, RANDOMCASES):

KNOWNCASES = get_cases("knowncases")
RANDOMCASES = get_cases("randomcases")
TRIPLE = get_cases("triple")
#TRIPLE = get_cases("triple")

CASENAMES, CASEDATA = data_generation(KNOWNCASES, RANDOMCASES)
CASENAMES.sort()
Expand Down

0 comments on commit f429539

Please sign in to comment.