bids-standard / bidsutils

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

BIDSto3col: events.tsv without "event type" column #2

Closed cmaumet closed 8 years ago

cmaumet commented 8 years ago

This update to BIDSto3col.sh, implemented by @nicholst, allow to deal with parametric modulation (e.g. as in OpenfMRI ds005's sub-01_task-mixedgamblestask_run-01_events.tsv file).

Usage is:

BIDSto3col.sh -s Event sub-01_task-mixedgamblestask_run-01_events.tsv OUT

to get a common (single) Event file (OUT_Event.txt).

To get the "parametric loss" as a parametric modulation, usage is:

BIDSto3col.sh -s Ev -h "parametric loss" sub-01_task-mixedgamblestask_run-01_events.tsv OUT
chrisgorgo commented 8 years ago

Could you also update README.md?

nicholst commented 8 years ago

To clarify, the motivation for this change was events.tsv files that didn't have a event type column (typically as the 3rd column).

cmaumet commented 8 years ago

@chrisfilo: REDAME is now updated.

cmaumet commented 8 years ago

README was just updated by @nicholst in 2238f33 so we can close this PR now.