BUG: fixed issue #544
BUG: fixed issue #544

Former-commit-id: f025b69e1b0d55a83ec26995f82738725dd46e10 [formerly 0c08009c9d355dbf7bc1d73bc8ad513b2f439699]
Former-commit-id: 80a452e1b748e4b272bef2a95ed5de12ec45c36f
Former-commit-id: 8f5d0e6e4b1fdafb4e67e42582c0c6decf57a0e0
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox