-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Ants Longitudinal CT Template-Build Stage fail #1634
Comments
What's your ANTs version? |
ANTs Version: v2.4.1.post7-g71c9890 from antsRegistration |
Might be data-dependent. I think this arises from scales estimation in the beginnings of registration https://discourse.itk.org/t/zero-valued-spacing-is-not-supported-and-may-result-in-undefined-behavior/5382/6 Will try to reproduce with data |
I will note, I manually truncated the images before processing because the FOV was very large and included the neck. |
Thanks, the images look like they should work. This works for me on Mac OS using 2.5.0.post12-g9516f51 (I ran it twice)
|
great! My problem was happening within a call to antsLongitudinalCorticalThickness.sh. Can the templates be built outside of this script and used? Perhaps an initial template? |
Right, I used the template command from your original output.txt, which doesn't include the original call to the longitudinal script. Unfortunately it's not easy to use an initial template with that script. We might debug further if you can try running the longitudinal script with Also if you can add the original call to antsLongitudinalCorticalThickness.sh I'll try to reproduce the whole script call. |
there are a lot of intermediate templates |
Thanks! The template failed and is blank, which creates the error. Possibly related, I see that your input file names are identical - this will cause problems. This is definitely something we should check for and fix at run time. Meanwhile, you might try changing the input files to MPRAGE_baseline.nii.gz and MPRAGE_followup.nii.gz |
I will try this and report, good to know! Previous successful runs with different data had different file names! |
I ran two subjects after changing the image basenames, and both ran thru antsLongitudinalCorticalThickness successfully. Think this was the problem, especially because a control cohort (1 scan each) ran fully successfully with no issue. Thank you! |
Great, thanks for sharing the info to help track this down! I think it is a simple fix to make the template scripts name their output uniquely. The longitudinal script already does this, so it should be fixed now. |
Hi all,
ANTs Longitudinal Cortical Thickness is failing at the template-building stage with 2 scans. Oddly, this behavior does not happen each time antsCT is run (rerunning a subject can work). Here is an example output with error message:
output is attached for formatting
output.txt
I can provide the two images if it helps diagnose.
Thank you!
The text was updated successfully, but these errors were encountered: