aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/triple_store/sparql
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-01-16 21:41:20 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-01-16 21:41:20 +0100
commit3504609e1ba1f7f653fa79910474bebd3ec24d8a (patch)
treed94cdf7ac540eb82630f78cbf564682b66007f51 /bsfs/triple_store/sparql
parent76fa694911f54e293ddf517246c6c4a1e8e745fd (diff)
downloadbsfs-3504609e1ba1f7f653fa79910474bebd3ec24d8a.tar.gz
bsfs-3504609e1ba1f7f653fa79910474bebd3ec24d8a.tar.bz2
bsfs-3504609e1ba1f7f653fa79910474bebd3ec24d8a.zip
various minor fixes
Diffstat (limited to 'bsfs/triple_store/sparql')
-rw-r--r--bsfs/triple_store/sparql/sparql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsfs/triple_store/sparql/sparql.py b/bsfs/triple_store/sparql/sparql.py
index dfd9871..fedd227 100644
--- a/bsfs/triple_store/sparql/sparql.py
+++ b/bsfs/triple_store/sparql/sparql.py
@@ -132,7 +132,7 @@ class SparqlStore(base.TripleStoreBase):
if isinstance(cand, bsc.Feature) and cand.distance not in DISTANCE_FU}
if len(invalid) > 0:
cand, dist = zip(*invalid)
- raise ValueError(
+ raise errors.UnsupportedError(
f'unknown distance function {",".join(dist)} in feature {", ".join(cand)}')
# commit the current transaction