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
get_distance(target, target2, topology_only=True) returns (according to the documentation) the number of nodes on the path between target and target2. Without the flag topology_only=True, it returns the branch length sum between the two targets.
It therefore seems more intuitive to return the number of edges connecting the two targets if topology_only=True.
It especially seems odd that two nodes connected by an edge have distance 0.
The text was updated successfully, but these errors were encountered:
get_distance(target, target2, topology_only=True)
returns (according to the documentation) the number of nodes on the path between target and target2. Without the flagtopology_only=True
, it returns the branch length sum between the two targets.It therefore seems more intuitive to return the number of edges connecting the two targets if
topology_only=True
.It especially seems odd that two nodes connected by an edge have distance 0.
The text was updated successfully, but these errors were encountered: