NISOx-BDI / SwE-toolbox

SwE toolbox
GNU General Public License v2.0
16 stars 7 forks source link

Fix several bugs related to the naive estimation of edf #155

Closed BryanGuillaume closed 4 years ago

BryanGuillaume commented 4 years ago

The goal of the PR is to fix the 2 issues #153 and #154.

To fix issue #153, the piece of code throwing the error has been moved in an if/else statement to ensure it is only visited for parametric analyses.

To fix issue #154, the toolbox is now detecting which subjects are involved in the contrast tested and compute the naive edf based on these subjects. This seems to fix the observed issue.

BryanGuillaume commented 4 years ago

After a few tests with the toolbox, this PR seems to fix the issues observed. Thus, I am merging it