Skip to content

Commit a62bcf0

Browse files
committed
FIX: Close docstring
1 parent bfa91a1 commit a62bcf0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nibabies/workflows/anatomical/registration.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,11 @@ def _load_intermediate_xfms(intermediate, std):
537537

538538

539539
def _create_inverse_composite(in_file, out_file='inverse_composite.h5'):
540-
"""Build a composite transform with SimpleITK.
540+
"""
541+
Build a composite transform with SimpleITK.
541542
542543
This serves as a workaround for a bug in ANTs's CompositeTransformUtil
544+
https://github.com/ANTsX/ANTs/issues/1827
543545
where composite transforms cannot be created with a displacement field placed first.
544546
545547
Parameters
@@ -553,6 +555,8 @@ def _create_inverse_composite(in_file, out_file='inverse_composite.h5'):
553555
-------
554556
out_file : str
555557
Absolute path to the composite transform.
558+
"""
559+
556560
from pathlib import Path
557561

558562
import SimpleITK as sitk

0 commit comments

Comments
 (0)