Skip to content

Conversation

@madanucd
Copy link
Contributor

Removed all custom Pydantic-based CLI validators previously located in data_validation/. We are now using the standard linkml-validate tool for validation.

  • Deleted legacy CLI validation scripts.
  • Updated data_validation/README.md to document usage of linkml-validate.
  • Validation is now fully handled using LinkML's native functionality.

Closes #231

@madanucd madanucd requested review from lopierra and twhetzel June 10, 2025 18:59
@lopierra
Copy link
Member

@madanucd is it possible to capture a log with the linkml-validator yet?

@madanucd
Copy link
Contributor Author

madanucd commented Jun 10, 2025

@madanucd is it possible to capture a log with the linkml-validator yet?

Yes! We can capture validation output from linkml-validate by redirecting stdout to a file. Here's an example:

linkml-validate -s src/linkml/include_schema.yaml -C Study src/data/input/study.csv > src/data/output/validation-report.md

This allows you to save the validation report as a .md, .txt, .csv, or .json file as needed.

Note: There is also an ongoing effort to customize and improve validation reporting in the BDC, which may offer richer report formats in the future.

@madanucd madanucd merged commit c59c453 into main Jun 11, 2025
2 checks passed
@madanucd madanucd deleted the issue-231 branch June 11, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate and decide one INCLUDE LinkML Validator options

3 participants