BUG: fix issue #360
BUG: fix issue #360

Former-commit-id: de3cc76aae4adc4c0f8f75c616183206f81f1de2 [formerly d4b52e19c627830bafbc105726d76b6f12c72849]
Former-commit-id: 17cfb61c39df80e617483befc00487fb70493302
Former-commit-id: e5521fce807aba81b00c556fa3e2772e0c0b498b
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox