pomodoren / comorbid-graphs

Side by side comparison of disorders based on comorbidity factors for clinical psychology.
MIT License
0 stars 0 forks source link

Multiparent: Hashtag parent #10

Open pomodoren opened 2 years ago

pomodoren commented 2 years ago

Introduction of multiparents should allow the graph properties.
Closed dependencies should allow for checks in this tree or not when loading from tree.

# closed-dependencies: checks whether all parents are in the hierarchy
# if not throws error
ComorbidGraph.load_yaml('graph.yaml', closed_dependencies=True)

To be able to do this kind of change, I should allow multiparent actions for each main functionality.