Closed vincentkelleher closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 62.91%. Comparing base (
27b9158
) to head (d409e57
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks @cmungall 🙏
Motivation Behind This
While working on the LinkML JSON-LD Context generator, I chose to use the namespaces.py
prefix_suffix(..)
method to build@id
attributes.Then, I started having issues with the test_curie_prefix_matching.py test class (BTW thanks to the developer of this class 👍 ) which has very specific CURIEs like
p1:/c/c1
for example.Solution
I went through the CURIE specification to find which types of CURIEs should be supported and I added them to the
test_namespaces.py
test class to make sure specific cases were managed.The solution I propose is straightforward but as this method is used in many places, the impacts can be big. I have a pull request coming up to update the LinkML project with my JSON-LD Context generator developments and test updates.