Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bach committed Aug 11, 2023
1 parent 5e7f250 commit ef4b2a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pspm_get_timing.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
intiming = varargin{2};
end

if ~ismember(model, {'onsets', 'epochs', 'events', 'file'})
if ~ismember(model, {'onsets', 'epochs', 'missing', 'events', 'file'})
warning('ID:invalid_input', 'Invalid input. I don''t know what to do.');

return;
Expand All @@ -92,7 +92,7 @@


switch model
case {'onsets', 'epochs'}
case {'onsets', 'epochs', 'missing'}
if nargin < 3
warning('ID:invalid_input', 'Time units unspecified'); return;
else
Expand Down

0 comments on commit ef4b2a4

Please sign in to comment.