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.
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.