FZJ-INM1-BDA / siibra-python

Software interfaces for interacting with brain atlases - Python client
Apache License 2.0
46 stars 8 forks source link

Environment variables are not casted to correct type #597

Closed ch-schiffer closed 2 weeks ago

ch-schiffer commented 2 weeks ago

Environment variables accepted by siibra (e.g., to set the maximum fetch size) are never casted to float, they stay strings. This breaks siibra when these environment variables are set.

https://github.com/FZJ-INM1-BDA/siibra-python/blob/f0c1d7b467918bf80c23473350aa97ffb3ffdc67/siibra/commons.py#L54