Referencing sections/quantities between metainfo packages
It seems that currently the references are limited to only sections/quantities that are defined in the same file. In section_results
I would require references that go from results.py
-> common_dft.py
i.e. between two different metainfo packages (that share the same root:
EntryArchive
defined in datamodel.py
).
I can build a workaround that only stores a path (m_path()
), but this is not the cleanest solution. I guess the current reference mechanism is built to be very robust against invalid references and thus requires extensive knowledge of the "static" metainfo structure. @mscheidg: Do you want me to take a stab at implementing these "global" references, or do you want to take a look yourself?