openalea / mtg

Multiscale Tree Graph datastructure and interfaces
https://mtg.rtfd.io
Other
12 stars 17 forks source link

Missing parents for incomplete MTG #16

Open pradal opened 4 years ago

pradal commented 4 years ago

Some MTG may have missing vertices at the lower scale.

ENTITY-CODE                     
/P                                  
/A1                                         2016
^/S1
    +B1                                     2017
        +C1                                 2018

C1 has no parents

g.roots(scale=2) return [2, 4, 5]