Skip to content

Commit 590f4c1

Browse files
authored
Update fix_and_create_erdiagram.py: added anatomical_structure schema
added anatomical_structure schema to list of models that need post-processing of their er diagram
1 parent 0ddba14 commit 590f4c1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

utils/fix_and_create_erdiagram.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,17 @@ def fix_diagram(yaml_model: pathlib.Path, diagram: pathlib.Path):
7676
/ "../erdiagram-autogen"
7777
/ "bke_taxonomy.md"
7878
)
79-
fix_diagram(bke_taxonomy_yaml, bke_taxonomy_diagram)
79+
fix_diagram(bke_taxonomy_yaml, bke_taxonomy_diagram)
80+
81+
# 4. FIX ANATOMICAL STRUCTURE DIAGRAM
82+
anatomical_structure_yaml = (
83+
pathlib.Path(__file__).parent.resolve()
84+
/ "../linkml-schema"
85+
/ "anatomical_structure.yaml"
86+
)
87+
anatomical_structure_diagram = (
88+
pathlib.Path(__file__).parent.resolve()
89+
/ "../erdiagram-autogen"
90+
/ "anatomical_structure.md"
91+
)
92+
fix_diagram(anatomical_structure_yaml, anatomical_structure_diagram)

0 commit comments

Comments
 (0)