-
Notifications
You must be signed in to change notification settings - Fork 11
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
error in fslr function #27
Comments
If you have a question, please provide a MCVE: https://stackoverflow.com/help/mcve. In any example, I recommend using a reproducible example using the reprex package (https://github.com/tidyverse/reprex). Also, please include a |
Hi, thank you for replying so quickly. Here is an example of fslr that addresses the same error. The session info is attached as a txt. library(fslr) |
Sorry, but I can't reproduce that error. That error is coming from oro.nifti::readNIfTI I think. Can you try to run the command |
And when you load it into FSL?
On Thu, Jun 24, 2021 at 5:50 PM troywty ***@***.***> wrote:
Hello John, I tried what you suggested, but here is the similar error
again.
[image: image]
<https://user-images.githubusercontent.com/23205820/123337005-a210bc00-d514-11eb-9bce-b854cdc82f5e.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIGPLXDGLLUGYH4BD2SF23TUOSCRANCNFSM47IAI4DA>
.
--
Best,
John
|
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
The text was updated successfully, but these errors were encountered: