biolink / biolink-model-toolkit

A collection of useful python functions for looking up information and working with the Biolink Model
https://biolink.github.io/biolink-model-toolkit/
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

tweak-pr-148-per-suggestions #150

Closed RichardBruskiewich closed 10 months ago

RichardBruskiewich commented 10 months ago

Iterated on PR 148 tweaks suggested by Sierra, plus related enhancements (and unit tests): Moved method-internal defined match_associations() function into Toolkit level method (with docs); allow 'match all' of subject, predicate, object slots with descriptions, and to predicates when no predicate slot is seen in slot_usage of a given association; add shallow (one level) is_a hierarchy traversal for slot_usage property discovery; removed some unused imports; remove spurious 'if not association' check code in get_associations() method; all unit tests pass

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication