LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
59 stars 27 forks source link

Path for saving 2nd level analysis files #27

Closed arnodelorme closed 3 years ago

arnodelorme commented 5 years ago

Results and settings are saved in the current path with weird consequences. For example with one sample t-test (selecting beta 1 to 6), LIMO create recursively folders to save the different parameter estimates. Parameter2 gets saved in parameter1 etc...

For all second level analyses, LIMO should create a folder and save that information in the folder.

Screen Shot 2019-08-13 at 7 35 28 PM

Bysmuth commented 4 years ago

This problem arises because each loop through the one-sample t-test parameters in limo_random_select.m (1) initially sets the working directory to LIMO.dir, (2) creates a subfolder and sets the working directory to that subfolder, and then (3) sets LIMO.dir to the current working directory (which is now the subfolder). (3) is unnecessary and the source of the problem. Deleting it (line 350) leads to the expected behavior.

CPernet commented 3 years ago

fixed in the new release