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

Fix rule and check. #524

Closed
wants to merge 98 commits into from

Conversation

ptth222
Copy link

@ptth222 ptth222 commented Jan 30, 2024

Before this change the term_source_refs would be a single string like 'OBI' when it should have remained a list like ['OBI', 'NEWT']. The check_ontology_sources function returns a list, but for some reason the execute method in the Rule class was only taking the first value from the list instead of the whole list. I changed it to take the whole list.

This list was then used in the check_ontology_fields function, but the check that uses it was nested inside another. I believe this was in error, so I made the check independent.

proccaserra and others added 9 commits November 6, 2023 21:24
The response[0] in core was setting what was supposed to be a list to a single string from the list instead. The check for whether a ontology source was in the list was nested beneath another check instead of being its own check.
@terazus
Copy link
Collaborator

terazus commented Feb 1, 2024

Same comment as PR #526 :
image

@terazus
Copy link
Collaborator

terazus commented Mar 11, 2024

Closing: dupe of #548

@terazus terazus closed this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants