yjmantilla / sovabids

A python package for the automatic conversion of EEG datasets to the BIDS standard, with a focus on making the most out of metadata.
https://sovabids.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Make sure to handle dashes in command line properly #9

Open civier opened 3 years ago

civier commented 3 years ago

Hi Yorguin and Brayan,

For the command line interface (I guess we'll have at least one in SOVABIDS), make sure to handle these cases gracefully. It can put users into a lot of trouble -- we basically wasted the whole SNI analysis session yesterday solving such a problem in ANTs, because ANTs does not catch an erroneous usage of em dash. For example, see here for how it will be handled in the MRtrix software: https://github.com/MRtrix3/mrtrix3/issues/2332#issue-921378518

Cheers, Oren