Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion neuroscope/tracers/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _get_parent_node_id(self, name: str) -> str | None:
return None

# Find the most recent node with that parent name
for node_id, node in reversed(list(self._graph.nodes.items())):
for node_id, node in reversed(self._graph.nodes.items()):
if node.label == parent_name:
return node_id
return None
Expand Down