Skip to content

Commit

Permalink
bugs: reconstruction and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-grim committed Apr 14, 2024
2 parents b410940 + da815cc commit 4043907
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/deep_neurographs/swc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def make_entry(graph, i, parent, node_to_idx):
...
"""
r = set_radius(graph, i)
r = graph[i]["radius"]
x, y, z = tuple(graph.nodes[i]["xyz"])
node_to_idx[i] = len(node_to_idx)
entry = f"{node_to_idx[i]} 2 {x} {y} {z} {r} {node_to_idx[parent]}"
Expand Down
1 change: 0 additions & 1 deletion src/deep_neurographs/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def plot(data, title):
fig.update_layout(
title=title,
template="plotly_white",
# plot_bgcolor="rgba(0, 0, 0, 0)",
scene=dict(aspectmode="manual", aspectratio=dict(x=1, y=1, z=1)),
width=1200,
height=700,
Expand Down

0 comments on commit 4043907

Please sign in to comment.