-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(building-comparison): various bug fixes
* fixed bug in coverage function by deleting unnecessary functions * adapt mock to actually return same type as db_client (Feature, not str) * fix bug with unhashable type problem due to alru * add value table_name to dataset.yaml * use table_name instead of key to query reference data building area * remove false indentation * add check for edge cases to prevent list index out of range error if edge case exist * changed legend creation to prevent out-of-range indices but still be able to adress any number of reference datasets * changed handling of ZeroDivisionError to prevent false statements in result description * fix(tests): result.value should be None and not 0.0 --------- Co-authored-by: Gigaszi <[email protected]>
- Loading branch information
Showing
4 changed files
with
38 additions
and
32 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
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
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