-
Notifications
You must be signed in to change notification settings - Fork 2
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 brain segmentation #38
Comments
Hi Apoorva,
If it worked before, it may have to do with updates in R or ANTsR. Did you
install everything fresh? Can you use an older version of R. I think the
image object used to be S3, not sure, and perhaps the methods are not
defined well what to do with min() for the S4. Just speculating here.
If this is first time you use it, make sure the input is correct, and paste
the entire history of commands.
…On Mon, Mar 11, 2024, 11:05 AM Apoorva Kelkar ***@***.***> wrote:
Hi Dorian,
I hope you are doing well.
I am using LINDA on R version 4.3.2.
I installed ANTsR and ANTsRCore and ITK and LINDA.
On running LINDA (v 0.5.1), I get this following error during
skull-stripping.
`> library(LINDA)
Warning message:
replacing previous import 'ANTsR::integrateVelocityField' by
'ANTsRCore::integrateVelocityField' when loading 'LINDA'
filename = '/Users/neurouser1/Documents/BICD/LINDA_T1ws/ST047_T1w.nii.gz'
outputs = linda_predict(filename)
10:42 Starting LINDA v0.5.1
10:42 Creating folder: /Users/neurouser1/Documents/BICD/LINDA_T1ws/linda
10:42 Loading file: ST047_T1w.nii.gz ...
10:42 Loading template...
10:42 Skull stripping... (long process)Error in min(dseg) : invalid 'type'
(S4) of argument`
I tried it on both the zipped nifti and unzipped nifti files.
Could you provide insight on why I might be getting this error?
Thank you
Best,
Apoorva
—
Reply to this email directly, view it on GitHub
<#38>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFJU7MHADB7AX5MVDNM4LDYXXI5TAVCNFSM6AAAAABEQPTOMWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TSMZXGQ4DQOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi @dorianps , Hope you are well. I am however getting a different error now: `library(LINDA)
10:16 Starting LINDA v0.5.1 Could you help with this error? Awaiting your reply. |
Hi Apoorva, and very sorry for the delay, this skipped my memory and I just remembered. I am not familiar with this new error, looks like it is deep in R but I am not sure what is causing it. I don't have LINDA installed for now, and may need to troubleshoot this later. But here is what you could try for now:
Hope it helps. |
Hi Dorian, The first solution you suggested didn't work and gave the same error. However, the docker container worked great! Thank you |
Hi Dorian,
I hope you are doing well.
I am using LINDA on R version 4.3.2.
I installed ANTsR and ANTsRCore and ITK and LINDA.
On running LINDA (v 0.5.1), I get this following error during skull-stripping.
`> library(LINDA)
Warning message:
replacing previous import 'ANTsR::integrateVelocityField' by 'ANTsRCore::integrateVelocityField' when loading 'LINDA'
I tried it on both the zipped nifti and unzipped nifti files.
Could you provide insight on why I might be getting this error?
Thank you
Best,
Apoorva
The text was updated successfully, but these errors were encountered: