bids-standard / bidsutils

Utility functions for working with BIDS compatible datasets
2 stars 7 forks source link

Options change #3

Closed nicholst closed 8 years ago

nicholst commented 8 years ago

Revised BIDSto3col.sh to work without options when trial_type is missing. I did this because trial_type is not mandatory (and simply doesn't make sense for some experiments), and the script should work gracefully (i.e. optionless) when no trial_type column is present.

Changes comprise:

@AlexBowring, this will affect your usage... is this all OK?

@AlexBowring, @cmaumet - It seems like having both -e and -E option is overkill. Should I just have one (e.g. -e) that behaves like -s (i.e. doesn't append the event name to OutBase)?

cmaumet commented 8 years ago

@nicholst: +1 to have only -e with a behaviour similar to -s.

nicholst commented 8 years ago

I'm going to merge this now, with @cmaumet's suggestion implemented.

@alexbowring & @wanderine, take care because your command line may need to change.