No description
  • Makefile 79.1%
  • Shell 20.9%
Find a file
Michał Szczepanik 4abd9b940b
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 25s
Model checks / lint (pull_request) Successful in 1m42s
Validate examples and verify unmodified conversion / lint (pull_request) Successful in 2m48s
Stop makefile from calling linkml validate with config absent
This stops the checkvalidation (checkvalid / checkinvalid) target in
the makefile, which globs for `*(in)valid.cfg.yaml` files, from
calling `linkml validate` when no files match the pattern.

Previously, if there were no *.invalid.cfg.yaml files, we still made
it into the `@for ex in $</*invalid.cfg.yaml` loop (same for `*valid`)
-- but with the glob expression verbatim, producing errors like this:

"Invalid value for '--config': File
'src/flat-data/unreleased/validation/*.invalid.cfg.yaml' does not
exist."

It seems that make's wildcard function avoids the pitfall, while
correctly expanding the globs when files are present.

This is an alternative to a solution presented in #90, which excluded
checkinvalid from checkvalidation.

https://www.gnu.org/software/make/manual/html_node/Wildcard-Function.html
2025-08-13 13:55:14 +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 Stop makefile from calling linkml validate with config absent 2025-08-13 13:55:14 +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 Start with same placeholder content 2025-01-17 07:29:05 +01:00

INM-7 metadata model

WORK IN PROGRESS

https://concepts.inm7.de

How to...

Install (in a virtualenv)

pip install -r requirements.txt

Build docs:

make

Serve docs locally

mkdocs serve

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