BUG: updated parser to take optic into account
BUG: updated parser to take optic into account

Former-commit-id: bc4f7ca66a215b45ceaa17cc3c2bb6a3fefc653e
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox