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

NaN for some detections in the output json file #286

Open
Wissewald opened this issue Mar 7, 2023 · 3 comments
Open

NaN for some detections in the output json file #286

Wissewald opened this issue Mar 7, 2023 · 3 comments
Assignees

Comments

@Wissewald
Copy link

Dear Nutil-developers,

using Nutil Quantifier in v0.8.7 with the WHS-v4 atlas, I noticed that in some (rather rare) cases, I get a 'nan'-triplet for some objects in the output json file. I couldn't find any plausible reason for this and the result is all the same after several runs.
The concerning files are attached, incl. our own custom brain regions.

I hope you have an idea what's going on there.
nan-problem.zip

@leuat
Copy link
Contributor

leuat commented Mar 7, 2023

thanks for the report! nan are usually harmless, as they imply a divide by zero (where you typically get a zero-value area and some other value is divided by this). However the code should have managed this automatically, and shouldn't really appear in the reports. I'll have a look at it asap!

regards

Nicolaas

@Majpuc
Copy link
Member

Majpuc commented Dec 15, 2023

We hope this issue was fixed?

@Wissewald
Copy link
Author

Yes, with v1.0.0 the NaNs turned into coordinates. Thanks!

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

No branches or pull requests

3 participants