From b06a1996ac6157c461016e2dcb0f4f4820b84262 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 17 Apr 2023 18:02:22 +0300 Subject: Update the default SPARQL endpoint Signed-off-by: Munyoki Kilyungi --- gn3/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gn3/settings.py b/gn3/settings.py index 22bdc98..9fec2fb 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -14,7 +14,10 @@ TMPDIR = os.environ.get("TMPDIR", tempfile.gettempdir()) RQTL_WRAPPER = "rqtl_wrapper.R" # SPARQL endpoint -SPARQL_ENDPOINT = "http://localhost:8891/sparql" +SPARQL_ENDPOINT = os.environment.get( + "SPARQL_ENDPOINT", + "http://localhost:9082/sparql") + # LMDB path LMDB_PATH = os.environ.get( "LMDB_PATH", f"{os.environ.get('HOME')}/tmp/dataset") -- cgit v1.2.3