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

Some .nii.gz won't open, even though they open fine on other viewers #30

Open
pierre-nedelec opened this issue Jul 26, 2022 · 4 comments

Comments

@pierre-nedelec
Copy link

pierre-nedelec commented Jul 26, 2022

Error message when trying to load an image:

Unable to open '...nii.gz'
Cannot read properties of undefined (reading 'map')

This file opens fine with ITK-SNAP. It was created by applying a mask (with c3d) to another image which opens fine with this tool.

@anibalsolon
Copy link
Owner

Hi @pierre-nedelec thank you for the feedback! Would you be able to share a nifti with me, that doesn't work for you, please? One that doesn't hurt any disclosure agreement :)

@xiaoqiaowoai
Copy link

I use Windows system.
Error message when trying to load an image:

Unable to open /c:/'...nii.gz'
Cannot read properties of undefined (reading 'map')

I guess this may be a path problem.The correct path should be c:/'...nii.gz'

@anibalsolon
Copy link
Owner

Hi @KouGZ I believe @nx10 and I were able to fix this issue! I've released a new version with the fix. Please let me know if you have any suggestions or issues.

@anibalsolon
Copy link
Owner

Ok, I mixed up the messages:

@pierre-nedelec I've released a new version with a fix for your problem, about the FLAIR image- please let me know if it works for you

@KouGZ @nx10 provided with a fix for Windows paths, please let us know if you still experience this problem with the new version (0.0.14)

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

Successfully merging a pull request may close this issue.

3 participants