forked from IAMconsortium/nomenclature
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor multiple warning levels for same data validation filter
- Loading branch information
David Almeida
committed
Jan 20, 2025
1 parent
c62da7f
commit b01834b
Showing
4 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/data/validation/validate_data/validate_warning_joined.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- variable: Primary Energy | ||
year: 2010 | ||
validation: | ||
- upper_bound: 5 | ||
lower_bound: 1 | ||
- warning_level: low | ||
upper_bound: 2.5 | ||
lower_bound: 1 | ||
- variable: Primary Energy|Coal | ||
year: 2010 | ||
upper_bound: 5 | ||
lower_bound: 1 |
6 changes: 3 additions & 3 deletions
6
...ation/validate_data/validate_warning.yaml → ...idate_data/validate_warning_separate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters