No description
- Makefile 79.1%
- Shell 20.9%
| .forgejo/workflows | ||
| extra-docs | ||
| patches | ||
| src | ||
| tools | ||
| .codespellrc | ||
| .gitignore | ||
| .linkmllint.yaml | ||
| LICENSE | ||
| Makefile | ||
| mkdocs.yml | ||
| pyproject.toml | ||
| README.md | ||
INM-7 metadata model
WORK IN PROGRESS
How to...
Use hatch to contribute to this project:
pip install hatch
Build docs:
hatch run docs:build
Serve docs locally
hatch run docs:serve
Run all model checks:
hatch run check:models
Run specific model checks:
hatch shell
make checkmodel/<path/to/schema>
# example:
make checkmodel/flat-data/unreleased
Validate a specific model:
hatch shell
linkml validate -s src/<path/to/schema-file>.yaml --config src/<path/to/example>.valid.cfg.yaml src/<path/to/example>.yaml
# example:
linkml validate -s src/flat-data/unreleased.yaml --config src/flat-data/unreleased/validation/Dataset.valid.cfg.yaml src/flat-data/unreleased/examples/Dataset-1.yaml
Presently, this work require a patched linkml installation. The patch(es) are
listed in patches/. The script tools/patch_linkml documents how they need
to be applied. This script can be used to patch a local installation, and is
also executed in the actions that validate the included data models.
Acknowledgements
This work was funded by
- MKW-NRW: Ministerium für Kultur und Wissenschaft des Landes Nordrhein-Westfalen under the Kooperationsplattformen 2022 program, grant number: KP22-106A