natverse / nat.templatebrains

Support for 3D template brains used as targets for image registration
https://natverse.org/nat.templatebrains/
GNU General Public License v3.0
3 stars 0 forks source link

fix inversion (swapping) of reglists on disk #28

Closed jefferis closed 8 years ago

jefferis commented 8 years ago

xform_brain and friends will return a reference to a reglist on disk as a character vector with a swap attribute if it must be inverted.

jefferis commented 8 years ago

To invert we must add swap attributes to the individual elements (which were not being honoured) and reverse