From 902416e158b2b54c449d08d17832e4d6f3e2a819 Mon Sep 17 00:00:00 2001 From: mfourmy Date: Wed, 28 Feb 2024 16:01:09 +0100 Subject: [PATCH] reraise caught exception --- .../cosypose/cosypose/lib3d/rigid_mesh_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/happypose/pose_estimators/cosypose/cosypose/lib3d/rigid_mesh_database.py b/happypose/pose_estimators/cosypose/cosypose/lib3d/rigid_mesh_database.py index e2c39747..68881f1e 100644 --- a/happypose/pose_estimators/cosypose/cosypose/lib3d/rigid_mesh_database.py +++ b/happypose/pose_estimators/cosypose/cosypose/lib3d/rigid_mesh_database.py @@ -95,8 +95,8 @@ def select(self, labels): try: ids = [self.label_to_id[label] for label in labels] except KeyError as e: - print(e) print("self.label_to_id.keys(): ", list(self.label_to_id.keys())) + raise e return Meshes( infos=[self.infos[label] for label in labels], labels=self.labels[ids],