From dbfe40416a40a679ed2db1be9ac0e3629bcebf14 Mon Sep 17 00:00:00 2001 From: Benedikt Hegner Date: Tue, 11 Jul 2023 13:22:47 +0200 Subject: [PATCH] fix code generation of old schema --- python/podio_class_generator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/podio_class_generator.py b/python/podio_class_generator.py index 69f75c3e6..146855f2a 100755 --- a/python/podio_class_generator.py +++ b/python/podio_class_generator.py @@ -328,8 +328,9 @@ def _process_datatype(self, name, definition): if member.full_type in self.root_schema_evolution_dict.keys(): needs_schema_evolution = True self._replaceComponentInPaths(member.full_type, member.full_type + self.old_schema_version, - schema_evolution_datatype['includes']) + schema_evolution_datatype['includes_data']) member.full_type = member.full_type + self.old_schema_version + member.bare_type = member.bare_type + self.old_schema_version if needs_schema_evolution: print(" Preparing explicit schema evolution for %s" % (name))