Feature: YARRRML generator with CLI#2934
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2934 +/- ##
==========================================
+ Coverage 80.43% 83.82% +3.39%
==========================================
Files 140 141 +1
Lines 15611 15713 +102
Branches 3171 3186 +15
==========================================
+ Hits 12556 13172 +616
+ Misses 2399 1844 -555
- Partials 656 697 +41 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Aweeeesome!!! |
b1e496a to
9ecc068
Compare
Ostrzyciel
approved these changes
Oct 10, 2025
There was a problem hiding this comment.
I discussed the testing approach here with @lapkinvladimir, and I think it's good – we have end-to-end testing ensuring that the mapping works and even matches schemas on both sides. So – in that regard – that's an approve :) but I'm not very familiar with the codebase in general.
amc-corey-cox
approved these changes
Oct 10, 2025
amc-corey-cox
left a comment
Contributor
There was a problem hiding this comment.
This looks good to me!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a basic YARRRML generator to LinkML.
What it does
New CLI entrypoint: gen-yarrrml
Generates one YARRRML mapping per LinkML class
Subject from identifier or key slot (safe fallback if none)
Defaults: JSON source (.json~jsonpath, $.items[*])
Tests
End-to-end tests covering: