Commit 80fc2720 authored by Bruno Duyé's avatar Bruno Duyé

Opps ! Forgot dimensions_values_labels in datasets.json

parent 08e18a3f
Pipeline #9944 failed with stage
in 8 minutes and 2 seconds
......@@ -88,7 +88,7 @@ def main():
args = docopt(__doc__.format(self_filename=os.path.basename(__file__)))
global source_dir
source_dir = args['<source_dir>']
assert os.path.exists(source_dir)
assert os.path.exists(source_dir), source_dir
global target_dir
target_dir = args['<target_dir>']
debug_mode = args['--debug']
......@@ -323,6 +323,7 @@ def treat_dataset(dataset_dict, appendix_path, appendix_dict):
'sub-industry': 'Industry precision',
'FREQ': 'Frequency',
},
'dimensions_values_labels': dimensions_values_labels,
# We take the last series's dimensions to get dataset's dimensions (assuming that all series in each dataset have the same dimensions)
'dimensions_codes_order': order_list_by(series_dimensions.keys(), DIMENSIONS_ORDER),
}
......
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