We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96eb97a + dde5d67 commit a335af1Copy full SHA for a335af1
pyneuroml/plot/PlotMorphologyVispy.py
@@ -724,10 +724,11 @@ def plot_3D_cell_morphology(
724
length = cell.get_segment_length(seg.id)
725
726
# round up to precision
727
- r = round(p.diameter / 2, mesh_precision)
+ r1 = round(p.diameter / 2, mesh_precision)
728
+ r2 = round(d.diameter / 2, mesh_precision)
729
key = (
- f"{r:.{mesh_precision}f}",
730
+ f"{r1:.{mesh_precision}f}",
731
+ f"{r2:.{mesh_precision}f}",
732
f"{round(length, mesh_precision):.{mesh_precision}f}",
733
)
734
0 commit comments