From 4022af9cceea2b9f332fe16e3e9f855721203848 Mon Sep 17 00:00:00 2001 From: HsienYu Meng Date: Mon, 30 Dec 2024 19:04:19 -0500 Subject: [PATCH] fix error msg --- python-sdk/nuscenes/map_expansion/map_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-sdk/nuscenes/map_expansion/map_api.py b/python-sdk/nuscenes/map_expansion/map_api.py index 53a14a0c..9857f148 100644 --- a/python-sdk/nuscenes/map_expansion/map_api.py +++ b/python-sdk/nuscenes/map_expansion/map_api.py @@ -97,7 +97,7 @@ def __init__(self, else: self.version = '1.0' if self.version < '1.3': - raise Exception('Error: You are using an outdated map version (%s)! ' + raise Exception(f'Error: You are using an outdated map version ({self.version})! ' 'Please go to https://www.nuscenes.org/download to download the latest map!') self.canvas_edge = self.json_obj['canvas_edge']