From 28b064430a2997c8ef0a1c41b619de2214442588 Mon Sep 17 00:00:00 2001 From: hegner Date: Fri, 15 Sep 2023 14:14:13 +0200 Subject: [PATCH] clarify error message in case of not implemented schema changes (#483) --- python/podio_class_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/podio_class_generator.py b/python/podio_class_generator.py index a0c2db4a8..68a759a5f 100755 --- a/python/podio_class_generator.py +++ b/python/podio_class_generator.py @@ -416,7 +416,7 @@ def prepare_iorules(self): iorule.code = f'{iorule.target} = onfile.{schema_change.member_name_old};' self.root_schema_iorules.add(iorule) else: - raise NotImplementedError("Schema evolution for this type not yet implemented") + raise NotImplementedError(f"Schema evolution for {schema_change} not yet implemented.") def _preprocess_for_obj(self, datatype): """Do the preprocessing that is necessary for the Obj classes"""