Skip to content

Conversation

@SarahJohnsonONS
Copy link
Contributor

In order to standardise the way in which observation status columns are handled, for a standard shape cube, if an attribute column is an SDMXA obs status column, the attribute's observation_value_col_title now defaults to the cube's obs val column.

This has been added to the validate_observations function in utils/qb/validation/observations.py - I would have preferred to add it to readers/cubeconfig/v1/configdeserialiser.py, but at this point columns don't have any knowledge of each other, which is required in order to associate the attribute column with the obs val column.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@github-actions
Copy link

ubuntu-latest-python3.11-pandas~2.0 test results

0 files   -   10  0 suites   - 10   0s ⏱️ - 5m 53s
0 tests  - 589  0 ✔️  - 589  0 💤 ±0  0 ±0 
0 runs   - 590  0 ✔️  - 590  0 💤 ±0  0 ±0 

Results for commit c9ac326. ± Comparison against base commit 38d61bc.

@github-actions
Copy link

ubuntu-latest-python3.11-pandas@^1.3 test results

0 files   -   10  0 suites   - 10   0s ⏱️ - 5m 58s
0 tests  - 589  0 ✔️  - 589  0 💤 ±0  0 ±0 
0 runs   - 590  0 ✔️  - 590  0 💤 ±0  0 ±0 

Results for commit c9ac326. ± Comparison against base commit 38d61bc.

@github-actions
Copy link

ubuntu-latest-python3.9- test results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit c9ac326.

@github-actions
Copy link

windows-latest-python3.11-pandas~2.0 test results

0 files   -   11  0 suites   - 12   0s ⏱️ - 12m 4s
0 tests  - 603  0 ✔️  - 603  0 💤 ±0  0 ±0 
0 runs   - 617  0 ✔️  - 617  0 💤 ±0  0 ±0 

Results for commit c9ac326. ± Comparison against base commit 38d61bc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants