Unclosed brackets not detected in antsRegistration command line parameters #1707
Labels
bug
Reproducible bugs
notes about usage
wouldbenice
Nice ideas not under development (pull requests welcome)
Describe the problem
In antsRegistration, if using the -x argument, but missing off the final
]
, the command line will still run so long as no further registration stages follow. Nothing at all is printed to stdout as it runs, even if --verbose is set. It's not clear whether the flags that follow -x are ignored or not.Expected behaviour would be an error message.
To Reproduce
When I've run this I've always provided absolute paths which is not reflected here for brevity:
Note no
]
after g.nii. If another stage follows the -x, then an error is correctly returnedSystem information
ANTs version information
ANTs Version: 2.5.1.post24-g6c29d9d
Compiled: Mar 13 2024 21:10:19
Compiled from source
Additional information
Not the biggest bother but hard to catch as
antsRegistration
commands can get extremely long. I thought you'd like to be aware, but not an issue for me personally now I'm aware of it.Thanks for the great tool.
The text was updated successfully, but these errors were encountered: