Closed achusuresh2 closed 1 month ago
This is not a bug, you are using a very old version of ANTs.
The normalize 2 option was added in v2.3.3 in 2020
https://github.com/ANTsX/ANTs/commit/2350ae6f50895d1b8aaaf7a11832b5bc6c5a7a95
Thank you, my mistake
I appreciate your attempt at a contribution. I see that my README fails to indicate a minimum version for ANTs, so this is my fault in the end. I will be adding one soon, as I got a feature merged into ANTs that I will be relying upon #74.
BUG:
When running the script with normalization enabled, running AverageImages from the script results in the following error
ERROR: Normalize option must be 0 or 1, 2given
In the script, the following snippet sets this parameter
FIX Changing this to 1 fixes the error, and allows the script to continue running.