Skip to content
Snippets Groups Projects
Commit 42ac5740 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

allow empty shot for single shot call

parent 0c97ef2d
No related branches found
No related tags found
1 merge request!159fix case empty shot input
Pipeline #204487 passed
...@@ -188,7 +188,7 @@ try ...@@ -188,7 +188,7 @@ try
args = [{shot,data_request},varargin_eff]; args = [{shot,data_request},varargin_eff];
end end
% treat multiple shot numbers % treat multiple shot numbers
if nargin > 0 && isnumeric(shot) && ~isempty(shot) if nargin > 0 && isnumeric(shot)
args_in = args; args_in = args;
if ~isempty(shot) if ~isempty(shot)
for i=1:numel(shot) for i=1:numel(shot)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment