Skip to content

use snap_polygons without pia/wm paths #189

@tmchartrand

Description

@tmchartrand

Describe the use case that is addressed by this feature.
Many cells outside of the IVSCC pipeline (particularly from synaptic physiology) have layer drawings but no pia/wm paths recorded (or paths may be incomplete). The snap_polygons functionality can still be useful to prepare layer polygons for depth calculations, but currently requires the pia/wm path.

Describe the solution you'd like
The pia/wm paths are only required to trim the layer polygons to the bounds of the pia/wm convex hull. This step is not strictly necessary, and can safely be skipped for missing pia/wm. A few other minor tweaks to schemas and error cases etc. are also required.

Describe alternatives you've considered
Any alternative solutions or features you've considered.

Additional context
This is primarily to enable a use case for synaptic physiology that I currently have fully working on my fork.

Do you want to work on this issue?
Yes, will submit PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions