unfoldtoolbox / UnfoldBIDS.jl

MIT License
4 stars 2 forks source link

Implement events loading from .tsv files in BIDS structure as default #49

Closed ReneSkukies closed 7 months ago

ReneSkukies commented 1 year ago
          > > it is quite counterintuitive to me, why you need to specify a folder where all subjects csv/tsv files are. Couldnt you include the events-link in the layout=

I did this cause currently some of our datasets have a folder where the events files are ordered in this way. Can split it in a fucntion "loading_from_csv" and "events_loading" or something

I think it would help already, if layout automatically extracts the events as a new column, and you can either provide the events_loading a new file, or the file from the layout, right?

Originally posted by @behinger in https://github.com/ReneSkukies/UnfoldBIDS.jl/issues/35#issuecomment-1614972351

ReneSkukies commented 1 year ago
ReneSkukies commented 1 year ago

addEventFiles! now takes the layout DF and searches for BIDS conform tsv files. The function is a default in bidsLayout() now and gives a warning if no/ too many tsv files are found. Currently only in the dev branch

Next step:

ReneSkukies commented 7 months ago

implemented in dev branch