ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
608 stars 161 forks source link

ENH: Allow multiple initial transforms #488

Closed cookpa closed 1 year ago

cookpa commented 1 year ago

The documentation for ants.registration says

initial_transform ([list](https://docs.python.org/3/library/stdtypes.html#list) of strings (optional)) – transforms to prepend

but it produced an error when given a list, it required a single transform as a string. Now fixed to support a list, or a string containing a single transform.