AllenInstitute / mouse_connectivity_models

Python package providing mesoscale connectivity models for mouse.
http://mouse-connectivity-models.readthedocs.io/en/latest/
Other
39 stars 14 forks source link

top_view_paths_100.h5 is corrupted #27

Closed kamdh closed 5 years ago

kamdh commented 5 years ago

The file top_view_paths_100.h5 is missing a path on the interior of the cortex. This causes it to show up as a small empty voxel when plotting.

kamdh commented 5 years ago

Note that this occurs at entries [51,44], [51,69] in the view_lookup table. test

kamdh commented 5 years ago

Workaround plotting: just use one of the neighboring paths.

    # 2D Cortical Surface Mapper
    mapper = CorticalMap(projection='top_view')
    # quick hack to fix bug
    mapper.view_lookup[51, 69] = mapper.view_lookup[51, 68]
    mapper.view_lookup[51, 44] = mapper.view_lookup[51, 43]