aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-20 17:06:19 +0300
committerBonfaceKilz2023-11-27 12:29:25 +0300
commit72ac00bf1fb183b0c3da066ccceb6cd1645c85a1 (patch)
tree628a7b1f6e6b4bcef6ec5c1040667e91b10b4acb /gn3
parentcce9170f9e00c7f88e1be774930d1b96a4a3d915 (diff)
downloadgenenetwork3-72ac00bf1fb183b0c3da066ccceb6cd1645c85a1.tar.gz
Remove unused argument during template substitution.
* gn3/api/metadata.py (phenotypes): Delete "name" from template substitution. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 97b081f..11b95fe 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -454,7 +454,7 @@ CONSTRUCT {
FILTER(?type = gnc:Phenotype) .
}
}
-""").substitute(prefix=RDF_PREFIXES, name=name, dataset=dataset)
+""").substitute(prefix=RDF_PREFIXES, name=name)
_context = {
"@context": PHENOTYPE_CONTEXT,
"type": "gnc:Phenotype",