If you want to split by anything other the bodyID (neuron split, by default) e.g. by region you cannot directly use the splitting function that exists. In particular, there was an assumption that every BodyID has only one neurotransmitter, which does not work for other (higher-level) splits.
We should, instead make sure that the split works as a [split_variable, neurotransmitter] cross product.
This shouldn't be too far from what already exists: double-check assert statements in the split file.
If you want to split by anything other the
bodyID(neuron split, by default) e.g. byregionyou cannot directly use the splitting function that exists. In particular, there was an assumption that every BodyID has only one neurotransmitter, which does not work for other (higher-level) splits.We should, instead make sure that the split works as a [
split_variable,neurotransmitter] cross product.This shouldn't be too far from what already exists: double-check
assertstatements in thesplitfile.