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

Add procedure for creating a generic collection of items to be added to neurons (e.g. mitochondria) #47

Open
nneubarth opened this issue Apr 12, 2019 · 1 comment

Comments

@nneubarth
Copy link
Contributor

Procedure would create a node (e.g. MitochondrionSet) similar to SynapseSet, which would point to all of the items (e.g. Mitochondrion) in the collection.

@nneubarth
Copy link
Contributor Author

The deleteNeuron procedure needs to be aware that these collections exist, so that the collection is deleted when a neuron/segment is deleted. It could be potentially dangerous if these collection nodes and item nodes used labels that are already existing in the database since many of these labels are used for other procedures, and users may be using these labels in their analysis, so e.g. even if the items were synapses I would label them with something like :Synapse2.

Another idea: instead of allowing a user to use any label, use the same label for all of them and have a property that specifies the type of collection. E.g. :Collection nodes contain :Item nodes and these nodes have a "type" property that can be equal to say, "mitochondria"

stub:

@Procedure(value = "proofreader.addGenericCollectionToSegment", mode = Mode.WRITE)

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

No branches or pull requests

1 participant