Closed christian34 closed 6 years ago
I have again an error. If I print the lstring and the new_lstring, I have:
('lstring :', AxialTree([%CutPointInternode[Leaf]TillerApex]Internode[Leaf][CutPointBud]Internode[Leaf]Apex))
and
('new_lstring :', AxialTree([]Internode[Leaf][CutPointBud]Internode[Leaf]Apex))
This seems okay and consistent with lpy cut bug being there on your lpy version. The thing is that apparently your lscene id are not indices that allow to query lstring. What are the sid in lscene ? Can you subset lstring with lstring[index], 0 =< index < len(lstring) ?
Add some tests to fix #27