yup, not a bug just a more concise way of working in hierarchies.
If we would follow the logic of tscripts opparent then referencing a node with the path /project1/a/wave1 from inside /project1/b could be done via …/wave1
Of course that is wrong. The problem was that opparent treated panel hierarchies the same as network hierarchies.
Now it’s more clear:
# a is a special input to b, so you can reference it with:
a = op('b').inputCOMPs[0]
# the parent of b can be fetched with the parent method:
p = op('b').parent()
# and of course that works with levels:
pp = op('b').parent(2)