Commit 9d74f07d authored by Bruno Duyé's avatar Bruno Duyé

Fix #312: conversion of FixedAssets fails

parent 3bd99ec5
Pipeline #15755 passed with stage
in 3 minutes and 35 seconds
......@@ -206,7 +206,7 @@ def treat_dataset(dataset_dict, appendix_path, appendix_dict):
observations_source_json = json.load(dataset_file)
if not dataset_name:
dataset_name = next(note["NoteText"] for note in observations_source_json["Notes"]
if note['NoteRef'] == dataset_dict["dataset_code"])
if note['NoteRef'].lower() == dataset_dict["dataset_code"].lower())
# Read each observation and create series files
observations = defaultdict(list) # Dict of series observations, indexed by series_codes
# Arbitrary code to sub-series names assignments defined by their place in list.
......
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