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 adding_ontology_to_enum when enum has no ontology #439

Merged
merged 8 commits into from
Mar 19, 2025

Conversation

Aberdur
Copy link
Contributor

@Aberdur Aberdur commented Mar 19, 2025

PR Description

As it is right now read-lab-metadata if the value has no ontology the module tries to add it. But it does this all the time and fails when the enum has no ontology and tries to add one (which it doesn't have).

@Aberdur Aberdur self-assigned this Mar 19, 2025
@Shettland
Copy link
Member

I'd rather check the schema before running the module rather than checking if properties are dicts or enums are lists because that would mean that the provided schema is not correctly built

Copy link
Member

@Shettland Shettland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aberdur Aberdur merged commit a707e0b into BU-ISCIII:develop Mar 19, 2025
17 checks passed
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