Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added utils.get_datatype_class() #804

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

jesper-friis
Copy link
Collaborator

@jesper-friis jesper-friis commented Nov 6, 2024

Description

The function utils.get_datatype_class() is a workaround since I cannot find any better way to access rdfs:Datatype with owlready2. It is needed in asstring() when generating the EMMO class index on github.

Type of change

  • Bug fix.
  • New feature.
  • Documentation update.
  • Test update.

Checklist

This checklist can be used as a help for the reviewer.

  • Is the code easy to read and understand?
  • Are comments for humans to read, not computers to disregard?
  • Does a new feature has an accompanying new test (in the CI or unit testing schemes)?
  • Has the documentation been updated as necessary?
  • Does this close the issue?
  • Is the change limited to the issue?
  • Are errors handled for all outcomes?
  • Does the new feature provide new restrictions on dependencies, and if so is this documented?

Comments

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.86%. Comparing base (938dbb4) to head (4005dd5).

Files with missing lines Patch % Lines
ontopy/utils.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #804      +/-   ##
==========================================
+ Coverage   72.72%   72.86%   +0.14%     
==========================================
  Files          18       18              
  Lines        3721     3741      +20     
==========================================
+ Hits         2706     2726      +20     
  Misses       1015     1015              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

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.

1 participant