Commit 65d39d69 authored by Pierre Dittgen's avatar Pierre Dittgen

Omit time series names to avoid 'Series name already met before' validation msg

parent 4301ff30
Pipeline #37796 passed with stage
in 1 minute and 14 seconds
......@@ -309,7 +309,7 @@ def write_dataset_json(json_filepath, ds_code, ds_name, dim_info, ts_info):
'name': ds_name,
'dimensions_labels': dict(((dim, dim_info[dim]['label']) for dim in dim_info)),
'dimensions_values_labels': dict(((dim, dim_info[dim]['values']) for dim in dim_info)),
'series': [{'code': t[0], 'name':t[1].strip(), 'dimensions':t[2]} for t in ts_info],
'series': [{'code': t[0], 'dimensions':t[2]} for t in ts_info],
}
cu.write_json_file(json_filepath, dataset_data)
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