BUG: fixed issue #319
BUG: fixed issue #319

Former-commit-id: cd6c9f46c540f449c8900e2e215e294b98bde376 [formerly d2435555d1fa372551a4d0d7336cd6ff652a14f5]
Former-commit-id: e1af72e02ac799755670861c7b4254aeec36bcfc
Former-commit-id: 16c45191a680bf95ebf2364bba3d3c23c0fa5b45
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox