Skip to content

Commit

Permalink
Merge pull request #133 from BryanGuillaume/fixResultDisplayClassicParam
Browse files Browse the repository at this point in the history
Fix the result display error observed for the classic parametric SwE
  • Loading branch information
BryanGuillaume authored Jul 12, 2019
2 parents 23332c8 + 6465f35 commit cfa0528
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions swe_getSPM.m
Original file line number Diff line number Diff line change
Expand Up @@ -1262,11 +1262,12 @@
xSwE.nSubj_g = SwE.Gr.nSubj_g;
xSwE.max_nVis_g = SwE.Vis.max_nVis_g;
xSwE.min_nVis_g = SwE.Vis.min_nVis_g;
xSwE.Vedf = cat(1,xCon(Ic).Vedf);
end

if SwE.dof.dof_type == 0
xSwE.edf = xCon(Ic).edf;
else
if ~isfield(SwE, 'WB')
xSwE.edf = xCon(Ic).edf;
end
xSwE.Vedf = cat(1,xCon(Ic).Vedf);
end

% For WB analyses we have already computed uncorrected, FDR, FWE and
Expand Down

0 comments on commit cfa0528

Please sign in to comment.