Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bea-fetcher
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dbnomics-fetchers
bea-fetcher
Commits
80fc2720
Commit
80fc2720
authored
Jul 19, 2018
by
Bruno Duyé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Opps ! Forgot dimensions_values_labels in datasets.json
parent
08e18a3f
Pipeline
#9944
failed with stage
in 8 minutes and 2 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
convert.py
convert.py
+2
-1
No files found.
convert.py
View file @
80fc2720
...
...
@@ -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
),
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment