You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After talking with @freeman-lab solution we agreed on is to check if there is a "regions" field, if yes load the array, if not just try loading the array. This will maintain backwards compatibility with the neurofinder data and allow us to load in the standard data format too
Trying to load the neurofinder regions using
I get an error in the following line
---> 23 regions = many([x['coordinates'] for x in raw['regions']])
as they don't have any regions. If I add in
{"regions": .... }
to the JSON file then everything is ok.
This is easy for me to do, but I'm wondering why the regions keyword was added and if I should keep it in future json files.
The text was updated successfully, but these errors were encountered: