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

gen-python for schema error #5

Open
fmaguire opened this issue Jul 19, 2024 · 0 comments
Open

gen-python for schema error #5

fmaguire opened this issue Jul 19, 2024 · 0 comments

Comments

@fmaguire
Copy link
Member

fmaguire commented Jul 19, 2024

When running linkml's gen-python function to build the python dataclass from the schema:

$ gen-python convast/schema/NCBI_schema.yaml
ValueError: Slot: permissible_values - attribute text value (File "NCBI_schema.yaml", line 455, col 15: mg/L) does not match key (mg_per_L)

Referenced line:

Not sure what the issue but will poke at it over the 2nd meeting

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

No branches or pull requests

1 participant