Open joncison opened 6 years ago
This probably needs more discussions: is the depth the maximum depth amongst all paths from root? or the minimum? do we take all paths into account, including those that go through "organisational" concepts?
Indeed.
Although I made major inroads into it, see: http://edamontologydocs.readthedocs.io/en/latest/technical_details.html#concrete-concepts
see "Hierarchy depth" under there.
It needs "placeholder" and "concrete" concepts to be systematically labelled as such (to do)
This will be addressed by the maxDepthExceeded test in edamverify(https://github.com/edamontology/edamverify)
cc @hmenager
In the soon-to-be-released Editors Guide:
Not sure (I doubt) xpath can do this, but we need a check (raising an ERROR) in such cases.