Closed kephale closed 4 years ago
@kephale, is this still an issue? It is possible for a node to have no annotations: E.g., the Allen CCF is not annotated in the cerebellum (and some anterior regions of the olfactory bulb) (I think that is the case for that cell id). A way to avoid that is to check for null, or make that code null proof:
AllenCompartment thisSomaCompartment = (AllenCompartment) soma.getAnnotation();
if (myCompartmentOfInterst.equals(thisSomaCompartment) || myCompartmentOfInterst.contains(thisSomaCompartment);
Yeah, I just did a null check to avoid this.
from code:
I'm getting (after a bunch are successfully downloaded):