BUG: fixed #816
BUG: fixed #816

Former-commit-id: f3770f7aad4276e4fe0d7a622596e721eaf794a4 [formerly 56f16da021238fb7ccf1f0f68b9489b90e101fa9]
Former-commit-id: 4dde642d1f3e556cb7f4ab974039c38d68745694
Former-commit-id: 7fef4765d071bcae443082d691ff28b82597bdf7
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox