methlabUZH / automagic

Automagic
GNU General Public License v3.0
89 stars 32 forks source link

bids export file names strange #31

Closed behinger closed 3 years ago

behinger commented 3 years ago

Hi! I want to export a BIDS dataset using: project.exportToBIDS('local',0,0,0,1)

I get:

newResFile =     'localderivatives\automagic-pipeline\sub-001\eeg\sub-sub-001_np_sub-001_eeg_sub-001_task-P3_eeg_eeg.set'

in processing, which is clearly not what I wanted :S

two immediate problems a) the function should use fullfile to add a "\" or "/" between my "folder" and the additional derivates b) the function should extract already specified BIDS format of the original dataset, or at least give me some option to specify the filenames

Hope that helps! Best, Bene

ksgfan commented 3 years ago

Hi Bene Thank you for the input, it's fixed and committed to the dev branch.

Best, Dawid