You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the precomputed line-based visualization of OrientedPoint annotations, all three lines have the same color.
The expected behavior is that the lines are colored by the principle axis they represent (with the same color scheme Neuroglancer uses for the global axes).
This is bug is caused by the oriented points using the regular points shader. They should instead by using the OrientedPointsShaderBuilder, which result in the link above looking like this instead new link:
I think the most likely cause is that the JSON state generation for this layer in the portal backend is using the json.generator.AnnotationJSONGenerator class instead of the intended json.OrientedPointAnnotationJSONGenerator class. The oriented point generator is a subclass of the annotation generator, so hopefully it shouldn't be an issue to swap them - but if something is blocking that please let us know! This would mean calling state_generator.generate_oriented_point_layer instead of state_generator.generate_point_layer.
In the precomputed line-based visualization of OrientedPoint annotations, all three lines have the same color.
The expected behavior is that the lines are colored by the principle axis they represent (with the same color scheme Neuroglancer uses for the global axes).
See example. Source run.
Screenshot:
The text was updated successfully, but these errors were encountered: