mixs
mixs copied to clipboard
YAML and LinkML auto-formatting and enumeration auto-describing
This PR adds a mechanism for
- normalizing the YAML format of mixs.yaml
- using a succinct LinkML for for dictionaries like
prefixes - omitting inferrable meatslots like the
textof permissible values
It also inherits auto-describing of any enum that lacks a description from
- #872
For future discussion:
- [ ] do we want empty curly brackets for keys without values?
- [ ] be careful about patterns that are longer than the current max line length , 79 -what technology should we use to check that?
- [ ] how to visualize the changes from yamlfmt (or the previous steps?)
@turbomam to split it out into 2 PRs.
More autoformatting the better! Does this then occur/get applied during GitHub actions validation?
src/scripts/describe_enums_by_slots_using.py can be eliminated thanks to the new type-ignoring linkml linter