Skip to content
Snippets Groups Projects
Commit 90d74ad7 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: fix bug in creating table when data option is passed to constructor

parent 74825a17
Branches
No related tags found
No related merge requests found
...@@ -120,11 +120,11 @@ assert(ischar(o.tableDirName), '@report_table.report_table: tableDirName must be ...@@ -120,11 +120,11 @@ assert(ischar(o.tableDirName), '@report_table.report_table: tableDirName must be
if ~isempty(o.data) if ~isempty(o.data)
if isempty(o.seriesToUse) if isempty(o.seriesToUse)
for i=1:o.data.vobs for i=1:o.data.vobs
o = o.addSeries('data', o.data{o.data.name{i}}); o.series{end+1} = report_series('data', o.data{o.data.name{i}});
end end
else else
for i=1:length(o.seriesToUse) for i=1:length(o.seriesToUse)
o = o.addSeries('data', o.data{o.seriesToUse{i}}); o.series{end+1} = report_series('data', o.data{o.seriesToUse{i}});
end end
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment