AllenInstitute/mouse_connectivity_models

top_view_paths_100.h5 is corrupted

Closed this issue · 2 comments

kamdh commented

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

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

kamdh commented

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]