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))