Help description for sct_image -setorient
is misleading
#3741
Labels
documentation
category: readthedocs, sourceforge, or SCT courses
priority:MEDIUM
SCT API: image.py
context:
user requested
Raised by user on the SCT forum/email/GitHub. Be sure to notify them when fixed in a release.
The help description for
-setorient
says the following:However,
-setorient
doesn't only modify the header. It modifies the data array, too:spinalcordtoolbox/spinalcordtoolbox/image.py
Lines 1072 to 1092 in 03eadb0
Which makes sense, I think? If you're reorienting an image, you want the header metadata to correspond to the data array; you can't update one without also updating the other.
This came up when responding to a question on the forum: https://forum.spinalcordmri.org/t/rpi-orientation-issue/848
The text was updated successfully, but these errors were encountered: