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

Numbers converted into scientific notation are not considered valid numbers #308

Open
gaurav opened this issue Nov 16, 2023 · 1 comment

Comments

@gaurav
Copy link

gaurav commented Nov 16, 2023

The property pvalue_threshold in https://nodenormalization-sri.renci.org/openapi.json fails validation because the default value (0.000001) is converted into scientific notation in Python (1e-06), which is judged to not be a valid number (Could not validate OpenAPI at https://nodenormalization-sri.renci.org/openapi.json: '1e-06' is not of type 'number'). Is there any way to work around this?

May be related to #115

@choward18
Copy link

I am seeing the same exact issue, it works with 1.0e+23 but not 1e+23 using version 0.2.9

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

2 participants