callahantiff / PheKnowLator

PheKnowLator: Heterogeneous Biomedical Knowledge Graphs and Benchmarks Constructed Under Alternative Semantic Models
https://github.com/callahantiff/PheKnowLator/wiki
Apache License 2.0
157 stars 29 forks source link

fixing none pred bug #139

Closed callahantiff closed 11 months ago

callahantiff commented 11 months ago

Thanks @sanyabt for pointing out that there was a bug in the owlnets.py file. The bug output triples with None as the predicate value. This error was caused by bad logic in the returns_object_property() function. This has now been repaired and fixed such that it is not possible to return None for predicates.

As a result, a new release will be made and pushed to PyPI. The version number will be bumped to v3.1.1.

sonarcloud[bot] commented 11 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

100.0% 100.0% Coverage
0.0% 0.0% Duplication