Trying to load the neurofinder regions using
import extraction as ex
model = ex.load(pathToRegions)
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.