Skip to content

Commit

Permalink
fix parsing of polygon jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
dickscheid committed Oct 3, 2023
1 parent d80f63f commit 249e686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siibra/configuration/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit 249e686

Please sign in to comment.