From 249e6867173d43cc349c453bfb3a5e8543cdbbfe Mon Sep 17 00:00:00 2001 From: Timo Dickscheid Date: Tue, 3 Oct 2023 15:16:02 +0000 Subject: [PATCH] fix parsing of polygon jsons --- siibra/configuration/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siibra/configuration/factory.py b/siibra/configuration/factory.py index 501c3f8c7..7a5de2354 100644 --- a/siibra/configuration/factory.py +++ b/siibra/configuration/factory.py @@ -329,7 +329,7 @@ def build_point(cls, spec): @classmethod def build_pointset(cls, spec): - if spec.get('@type') == '/tmp/poly': + if spec.get('@type') == 'tmp/poly': space_id = spec["coordinateSpace"]["@id"] coords = [] for coord in spec["coordinates"]: