SunSpecOrangeButton / pyoblib

Orange Button Python Library
Apache License 2.0
14 stars 19 forks source link

Circular Dependency in Taxonomy XSD/XML files #144

Closed joelebwf closed 5 years ago

joelebwf commented 5 years ago

Jono to supply details in Slack.

joelebwf commented 5 years ago

The fields that are circular are:

solar:ProjectAbstract
 solar:ProjectFinancingAbstract 
solar:ProjectLineItems


jonoxia commented 5 years ago

Circular dependency is caused by the way data_model.py attempts to construct an "All" entrypoint by combining relationships and concepts from all other entrypoints. This is the wrong way to do it because you get a bunch of redundant relationships.

Instead, have taxonomy_semantic create an "All" entrypoint by reading /core/solar_all_2018-03-31_r01_def.xml and core/solar_all_2018-03-31_r01_pre.xml