newparameters = check_files(Names{2},1);
if newparameters ~= 1
error('paired t-test second set must also be con files')
else
parameters = 1;
end
newparameter was not used, and worse, this is the index of the beta. Why would you force the index of the beta to 1? Instead based on the code above, what is correct is
parameters(2) = check_files(Names{2},1);
And it works fine. The rest of the changes are minor GUI stuff and text edit. For example, the GUI asks you to select a single beta at a time for two sample t-test or paired t-test.
One generated a crash for the unpaired t-test (see https://github.com/LIMO-EEG-Toolbox/limo_tools/issues/114)
The other code I changed made no sense. I changed
newparameter was not used, and worse, this is the index of the beta. Why would you force the index of the beta to 1? Instead based on the code above, what is correct is
And it works fine. The rest of the changes are minor GUI stuff and text edit. For example, the GUI asks you to select a single beta at a time for two sample t-test or paired t-test.
Please merge so we do not diverge.