Skip to content

error in fslr function #27

@troywty

Description

@troywty

Hello John,
I am working on a project to do defacing, for which your library is being used in my script.
We have used your library without any error for several months since we installed it.
However, a following error suddenly recently appears when I run functions such as fslsmooth and CT_Skull_Strip_robust in fslr, even if fslr is sucessfully loaded in R.

smooth = fslsmooth(thresh.img, sigma = 0.5, retimg=TRUE)#sigma value to control to be soother

fslmaths "/tmp/Rtmpz4mcgw/file3897145cb153.nii.gz" -s 0.5 "/tmp/Rtmpz4mcgw/file389710b12b8f";

Error in (function (fname, onefile = TRUE, gzipped = TRUE, verbose = FALSE, :
Not all data was read in: should be length 34078720 but only 32156 was read in!

Do you know why this error occurs and how should I fix it?
Are there any requirements for installing particular versions of associated R packages to avoid this error in fslr?
Any advice will be great help!
Thanks,
Tingyu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions