No description
  • Makefile 79.1%
  • Shell 20.9%
Find a file
Adina Wagner a85b43c1f3
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 22s
Validate examples and verify unmodified conversion / lint (pull_request) Successful in 2m48s
Model checks / lint (pull_request) Successful in 1m28s
add hints how to run specific validation or model checks in hatch shell
2025-07-28 14:06:35 +02:00
.forgejo/workflows Use appropriate variable to check out correct branch 2025-04-22 09:49:36 +02:00
extra-docs More careful phrasing of guidelines 2025-05-26 09:31:06 +02:00
patches Update patch to fix faulty shaclgen export of sh:order 2025-05-10 08:52:16 +02:00
src Adds dimensions to Dataset, analogous to dimensions on DataItem 2025-06-27 11:13:42 +02:00
tools Disable patches that made it upstream or got rejected there 2025-05-10 08:56:04 +02:00
.codespellrc Start with same placeholder content 2025-01-17 07:29:05 +01:00
.gitignore Start with same placeholder content 2025-01-17 07:29:05 +01:00
.linkmllint.yaml Start with same placeholder content 2025-01-17 07:29:05 +01:00
LICENSE Start with same placeholder content 2025-01-17 07:29:05 +01:00
Makefile Skeleton of a study description schema 2025-05-22 08:11:06 +02:00
mkdocs.yml Skeleton of a study description schema 2025-05-22 08:11:06 +02:00
pyproject.toml Tune checkers to deal with local schema component moves 2025-05-23 07:30:08 +02:00
README.md add hints how to run specific validation or model checks in hatch shell 2025-07-28 14:06:35 +02:00

INM-7 metadata model

WORK IN PROGRESS

https://concepts.inm7.de

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