Commit 192b204a authored by Dóra Kocsis's avatar Dóra Kocsis

bugfix: iter_filtered_series.m

parent a41c7641
Pipeline #3698 failed with stage
in 47 seconds
......@@ -45,6 +45,9 @@ for gg = 1:size(grouped_series, 2)
series_fields = {'x_frequency', 'period_start_day', 'value'};
posted_series_fields = {'frequency', 'period_start_day', 'value'};
for series = 1:size(series_list, 2)
if ~iscell(series_list{series}.value)
series_list{series}.value = num2cell(series_list{series}.value);
end
for ii = 1:length(posted_series_fields)
posted_series.(posted_series_fields{ii}) = series_list{series}.(series_fields{ii});
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment