Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anytree implicit node?
#1
I have a weird problem with anytree. I defined a node thus:
Node(str(sensor.target),parent=tgt,index=0,action='target')
Note that it is not set to any variable. However, at some point this node seems to get a child node which appears to be itself or at least is a duplicate of itself. Since there is no variable associated with that node it seems impossible to me that it can ever have a child node since there is no way to reference it as a parent. I can only guess that somehow there is a way for a node to implicitly obtain a child node. How is this possible and how can I figure out where that might be happening? TIA.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Anytree - Is not of type 'NodeMixin' error georgebijum 3 2,026 May-05-2022, 01:43 PM
Last Post: Gribouillis
  Modifying anytree Nodes gw1500se 1 2,610 Jun-05-2020, 03:44 PM
Last Post: Gribouillis
  How to plot implicit functions (with two variables) in scipy python using matplotlib? Jay_Nerella 1 7,885 May-11-2019, 01:17 AM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020