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

cast minimum_value and maximum_value to int #35

Open
sujaypatil96 opened this issue Mar 29, 2022 · 3 comments
Open

cast minimum_value and maximum_value to int #35

sujaypatil96 opened this issue Mar 29, 2022 · 3 comments

Comments

@sujaypatil96
Copy link
Member

When we add number values for minimum_value and maximum_value properties, like say 0 and 999, when the linkml model is created the program writes to the linkml file as strings rather than numbers.

@sujaypatil96 sujaypatil96 self-assigned this Mar 29, 2022
@cmungall
Copy link
Member

cmungall commented Apr 1, 2022

this should be generic behavior - introspect the metamodel and use the appropriate python type

@sierra-moxon
Copy link
Member

@sujaypatil96 - is this still a relevant issue?

@sujaypatil96
Copy link
Member Author

sujaypatil96 commented Nov 10, 2023

@sierra-moxon i've made a note of it. Will update the issue by next week.

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

3 participants