Skip to content

Commit

Permalink
Add gap node note
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Jan 31, 2024
1 parent 51137c0 commit abeb279
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spyglass/utils/dj_chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ def pk_link(self, src, trg, data) -> float:
def names(self) -> List[str]:
"""Return list of full table names in chain.
Uses networkx.shortest_path.
Uses networkx.shortest_path. Ignores numeric table names, which are
'gaps' or alias nodes in the graph. See datajoint.Diagram._make_graph
source code for comments on alias nodes.
"""
if not self._has_link:
return None
Expand Down

0 comments on commit abeb279

Please sign in to comment.