aboutsummaryrefslogtreecommitdiff
path: root/scripts/index-genenetwork
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-07-03 11:16:20 +0300
committerBonfaceKilz2024-07-03 14:24:01 +0300
commited7814a6c44c99dd5eb5c5a92ec22f20342f4e22 (patch)
treed617329bd0e131b9729b6ce85b261b8f876912ab /scripts/index-genenetwork
parent8885288dd3004b49d4c0d85ffa8ad8f85775d222 (diff)
downloadgenenetwork3-ed7814a6c44c99dd5eb5c5a92ec22f20342f4e22.tar.gz
Use correct cache for RIF/Wiki entries.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'scripts/index-genenetwork')
-rwxr-xr-xscripts/index-genenetwork4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork
index 65f0185..1775297 100755
--- a/scripts/index-genenetwork
+++ b/scripts/index-genenetwork
@@ -129,7 +129,7 @@ phenotypes_query = SQLQuery(
SQLTableClause("LEFT JOIN", "Geno",
"PublishXRef.Locus = Geno.Name AND Geno.SpeciesId = Species.Id")])
-RIF_CACHE_QUERY = """
+WIKI_CACHE_QUERY = """
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX gnt: <http://genenetwork.org/term/>
@@ -145,7 +145,7 @@ _:node rdf:type gnc:GNWikiEntry ;
} GROUP BY ?speciesName ?symbolName
"""
-WIKI_CACHE_QUERY = """
+RIF_CACHE_QUERY = """
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX gnt: <http://genenetwork.org/term/>