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

Better error messages #435

Merged
merged 33 commits into from
Aug 18, 2022
Merged

Better error messages #435

merged 33 commits into from
Aug 18, 2022

Conversation

jesper-friis
Copy link
Collaborator

@jesper-friis jesper-friis commented Aug 1, 2022

Description:

Added ontology path/URL to error messages when loading an ontology fails. Should hopefulle simplify debugging.

The tests should succeed when PR #436 has been merged...

Type of change:

  • Bug fix.
  • New feature.
  • Documentation 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:

jesper-friis and others added 25 commits August 4, 2022 13:56
Changed argument to prefix in get_by_label and get_by_label_all
when only entities from a given ontology with a given prefix are
desired. The prefix is currently being compared to entity._namspace.name
but a solution for prefix should be implemented.
where the entity is from and not the name of the namespace as given in
owldreay2
Co-authored-by: Francesca L. Bleken <48128015+francescalb@users.noreply.github.com>
@francescalb francescalb self-requested a review August 18, 2022 05:48
@jesper-friis jesper-friis merged commit 4f6cd89 into master Aug 18, 2022
@jesper-friis jesper-friis deleted the better-error-messages branch August 18, 2022 06:12
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.

2 participants