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

AgeDistribution: Poor error message for Array of Arrays #75

Open
Bridenbecker opened this issue Dec 19, 2024 · 1 comment
Open

AgeDistribution: Poor error message for Array of Arrays #75

Bridenbecker opened this issue Dec 19, 2024 · 1 comment
Labels

Comments

@Bridenbecker
Copy link
Collaborator

Bridenbecker commented Dec 19, 2024

When the user has:

"ResultValues": [ [ 0.1, 0.2, 0.3 ] ]

They get a message like:

ERROR:  Unexpected type while parsing 'ResultValues'
in distribution 'AgeDistribution' for nodeID = 1.
Expected an array of floats but detected  an array.

It is correct, but not only if you really understand. Changing it to:

ERROR:  Unexpected type while parsing 'ResultValues'
in distribution 'AgeDistribution' for nodeID = 1.
Expected an array of floats but detected an array of arrays.
@stitova-idm
Copy link
Collaborator

Thumbs up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants