-
Notifications
You must be signed in to change notification settings - Fork 262
Q: Difficulty opening a file with .nii.gz extension #1075
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
Comments
Hi @lanranranM, I created a new issue. Posting on closed issues is a good way to get buried. I'm not positive I got the title right. In any event, can you run
|
Thank you for opening a new Post! I run the command in powerShell and it gives me
For convenience, here is the screenshot for the files |
Ah, then I misunderstood your earlier post. Can you share the full filename of a file you would like to open, and the output of |
Sure! The full file name is
|
I assume that Feel free to paste the output here. |
Thanks! The .nii.gz file contains |
Okay, this looks like a problem with using datalad or git-annex on Windows. In normal circumstances, that would be a symlink that would either resolve or not, but it appears to just be a text file here. It looks like this might be a relevant question for https://github.com/ljchang/dartbrains or https://github.com/datalad/datalad/, but there's nothing to do on the nibabel end if the file contents are missing. |
Oh, that is a gitlink file (since windows doesn't support symlinks), so you would need to datalad or git-annex get it to get it replaced with the actual data file. |
Hello, I'm using nib.load(file_name) to access a ".nii.gz" file, and the function raise ImageFileError and I found that nib.filebasedimages.FileBasedImage.path_maybe_image('.nii') still gives me a (False, None). How can I solve the problem? Thanks
Originally posted by @lanranranM in #621 (comment)
The text was updated successfully, but these errors were encountered: