Commit 60b91eb4 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Bugfix in "filter_vadere_obstacles.py": "ValueError" has not printed missing keys for boundary box.

parent fbe0cbe6
Pipeline #87202 passed with stages
in 100 minutes and 57 seconds
......@@ -54,7 +54,7 @@ def raise_exception_on_invalid_boundary_box(boundary_box):
is_no_empty_set = bool(expected_keys.symmetric_difference(actual_keys))
if is_no_empty_set:
raise ValueError("Given boundary box does not contain required keys: ".format(expected_keys))
raise ValueError("Given boundary box does not contain required keys: {}".format(expected_keys))
if boundary_box["x2"] <= boundary_box["x1"]:
raise ValueError("Invalid boundary box: x2 <= x1 ({} <= {})".format(boundary_box["x2"], boundary_box["x1"]))
......
# Boundary Box
X1: 410059.144
Y1: 5476646.689
X2: 410376.702
Y2: 5476837.21
Coordinate System: EPSG:25832
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment