diff options
author | Munyoki Kilyungi | 2023-04-17 18:02:22 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-04-17 18:03:21 +0300 |
commit | b06a1996ac6157c461016e2dcb0f4f4820b84262 (patch) | |
tree | 1b15fa55c726f4687102993e03d45de5998b70d0 | |
parent | d04779286b49346946120a5801509ba80ee987ba (diff) | |
download | genenetwork3-b06a1996ac6157c461016e2dcb0f4f4820b84262.tar.gz |
Update the default SPARQL endpoint
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn3/settings.py | 5 |
1 files changed, 4 insertions, 1 deletions
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") |