-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi
When I was using niwrite
to save *nii.gz
ir *.nii
files, they seemed to be corrupted consistently.
The version infos are shown below:
(GMMFusion.jl) pkg> status NIfTI
Status `/gpfs3/well/win-biobank/users/gbb787/GMMFusion.jl/Project.toml`
[a3a9e032] NIfTI v0.5.6
julia> VERSION
v"1.6.0"
The command used to work fine, but since last week I always received this error when accessing the files newly written by niread
, even if I just read a NIfTI file and saved it immediately (though in REPL it complained about nothing):
julia> data = niread("mask.nii.gz");
julia> niwrite("test.nii.gz", data)
The error I encountered when accessing it suing FSL is Details: Expected 24781212 bytes, got 6195303 bytes from test.nii.gz - could the file be damaged?
Any help would be much appreciated.
ofgulban
Metadata
Metadata
Assignees
Labels
No labels