Skip to content

Commit de39e86

Browse files
committed
fix an issue with empty EVENT*_EXCLUDED_LIST
1 parent 3101088 commit de39e86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CODE/matlab/readfmtdata_quake.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
%
4040
% Authors: François Beauducel and Jean-Marie Saurel, WEBOBS/IPGP
4141
% Created: 2016-07-10, in Yogyakarta (Indonesia)
42-
% Updated: 2023-03-01
42+
% Updated: 2023-08-25
4343

4444
wofun = sprintf('WEBOBS{%s}',mfilename);
4545

@@ -60,12 +60,12 @@
6060
if isfield(P,'EVENTTYPE_EXCLUDED_LIST')
6161
extypes = split(P.EVENTTYPE_EXCLUDED_LIST,',');
6262
else
63-
extypes = '';
63+
extypes = {''};
6464
end
6565
if isfield(P,'EVENTSTATUS_EXCLUDED_LIST')
6666
exstatus = split(P.EVENTSTATUS_EXCLUDED_LIST,',');
6767
else
68-
exstatus = '';
68+
exstatus = {''};
6969
end
7070

7171
felteventcode = isok(P,'FELT_EVENTCODE_OK');

0 commit comments

Comments
 (0)