Skip to content

Neurofinder regions don't load as they lack "regions" #6

@sofroniewn

Description

@sofroniewn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions