Closed francescolovat closed 3 years ago
Merging #72 (7b66813) into master (ac4802d) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #72 +/- ##
=======================================
Coverage 57.23% 57.23%
=======================================
Files 49 49
Lines 1887 1887
=======================================
Hits 1080 1080
Misses 807 807
Impacted Files | Coverage Δ | |
---|---|---|
item/historical/scripts/T000.py | 100.00% <ø> (ø) |
|
item/historical/scripts/T003.py | 100.00% <ø> (ø) |
|
item/historical/diagnostic/A003.py | 100.00% <100.00%> (ø) |
|
item/historical/scripts/T009.py | 93.75% <100.00%> (ø) |
|
item/historical/scripts/util/managers/dataframe.py | 96.10% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ac4802d...7b66813. Read the comment docs.
@khaeru, tests are failing because my account does not have the right permissions for Google Cloud Storage. I hope we can find a solution for this.
From the test run:
Failed to create file system for "gcs:data.transportenergy.org/historical/ci/45/": failed configuring Google Cloud Storage Service Account: error processing credentials: unexpected end of JSON input
As mentioned in Slack, sorry for the miscommunication here! The approach (using the SDMX dimension names, e.g. "MODE", wherever possible) is definitely correct, but this was addressed simultaneously in #71 along with more drastic changes, e.g. completely removing the outdated ColumnName
enum.
This PR closes #69.
To solve the issue, I've edited the attributes of class
ColumnName
to match the nomenclature returned when runningsdmx.generate()
with IDs ("VEHICLE"
and"MODE"
).How to review:
historical.process(0)
and verify that the returned DataFrame does not containNaN
s neither inVehicle type
nor inMode or medium of transport
columns.