Skip to content

Commit 83ebbd5

Browse files
committed
DOC: fix see also sections for get/set q/s form
Got mixed up with the see alsos pointing back to themselves.
1 parent eb8f12c commit 83ebbd5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

nibabel/nifti1.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,8 @@ def get_qform(self, coded=False):
16461646
16471647
See also
16481648
--------
1649-
Nifti1Header.set_qform
1649+
set_qform
1650+
get_sform
16501651
"""
16511652
return self._header.get_qform(coded)
16521653

@@ -1678,7 +1679,8 @@ def set_qform(self, affine, code=None, strip_shears=True, **kwargs):
16781679
16791680
See also
16801681
--------
1681-
Nifti1Header.set_qform
1682+
get_qform
1683+
set_sform
16821684
16831685
Examples
16841686
--------
@@ -1731,7 +1733,8 @@ def get_sform(self, coded=False):
17311733
17321734
See also
17331735
--------
1734-
Nifti1Header.get_sform
1736+
set_sform
1737+
get_qform
17351738
"""
17361739
return self._header.get_sform(coded)
17371740

@@ -1759,7 +1762,8 @@ def set_sform(self, affine, code=None, **kwargs):
17591762
17601763
See also
17611764
--------
1762-
Nifti1Header.set_sform
1765+
get_sform
1766+
set_qform
17631767
17641768
Examples
17651769
--------

0 commit comments

Comments
 (0)