Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser.segmentation_layers (etc.) ought to have a way to exclude archived layers #46

Open
JoeStrout opened this issue Jul 31, 2024 · 0 comments

Comments

@JoeStrout
Copy link

In my use case, the state has a large number of segmentation layers that have been archived. In the following example, the second layer is archived, but the first is not.

{
      "type": "segmentation",
      "source": "precomputed://gs://dkronauer-ant-001-manual-labels/synapses/662836af010000d9004072c2/postsynaptic-terminal/000",
      "tab": "annotations",
      "segments": [],
      "name": "72c2"
    },
    {
      "type": "segmentation",
      "source": "precomputed://gs://dkronauer-ant-001-manual-labels/synapses/66283935010000cd004072c5/postsynaptic-terminal/000",
      "tab": "source",
      "segments": [],
      "name": "72c5",
      "archived": true
    },

It'd be nice if nglui.parser.segmentation_layers(state) had an optional parameter to specify whether to exclude these archived layers. (And similar for any other layer types.)

JoeStrout added a commit to JoeStrout/nglui that referenced this issue Aug 27, 2024
image_layers, segmentation_layers, and annotation_layers.
Fixes CAVEconnectome#46.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant