Not exact path in archive browser
With bi-directional references, it is possible to query whether a target quantity/section shown in archive browser is referenced by other entries. This requires the exact path of the target quantity/section in the archive.
It appears the root sections are not properly indexed, which results in incorrect path as shown in figure (/run/calculation/1). This path cannot be used to perform search.
- Keep the existing code, add method to compute the exact path from any lane by traversing lanes?
- Update how path variable in lane context is computed.
The second solution appears more natural to me as more dynamic stuff will be added in the foreseeable future. But there may be side-effects not known to me.