Skip to content

Commit

Permalink
Merge pull request #460 from bachlab/422-missing-overwrite-behaviour-…
Browse files Browse the repository at this point in the history
…in-pspm_con2
  • Loading branch information
teddychao authored Mar 3, 2023
2 parents 956e722 + f6429cf commit 6f25731
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pspm_con2.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ function pspm_con2(modelfile, outfile, con, connames, options)
else
sample = 1;
end
%% check options
if exist('options','var')
options = struct();
end
options = pspm_options(options, 'con2');
%% check outfile
if pspm_overwrite(outfile, options) == 0
return
Expand Down

0 comments on commit 6f25731

Please sign in to comment.