Skip to content

Commit

Permalink
fix maptype tolower
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Aug 23, 2024
1 parent a65689d commit 3e27d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions new_api/v3/data_handlers/map/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def get_map(parcellation_id: str, space_id: str, maptype: Union[MapType, str], e
maptype = maptype.name

assert maptype is not None, f"maptype is neither MapType nor str"
maptype = maptype.lower()

returned_maps = siibra.find_maps(parcellation_id, space_id, maptype=maptype, extra_spec=extra_spec)

Expand Down

0 comments on commit 3e27d6b

Please sign in to comment.