From 980ebaaa5e195c18c5fafeed4c3546d8ddf97e31 Mon Sep 17 00:00:00 2001 From: Sarthak Kapoor Date: Fri, 16 Aug 2024 14:51:19 +0200 Subject: [PATCH] Fix: run normalize of composite system --- .../schema_packages/polymerization.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nomad_polymerization_reactions/schema_packages/polymerization.py b/src/nomad_polymerization_reactions/schema_packages/polymerization.py index 7cdda6d..b6ec37b 100644 --- a/src/nomad_polymerization_reactions/schema_packages/polymerization.py +++ b/src/nomad_polymerization_reactions/schema_packages/polymerization.py @@ -114,6 +114,8 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None: if self.polymer is None: self.polymer = CompositeSystem() self.polymer.components = self.monomers + self.polymer.elemental_composition = [] + self.polymer.normalize(archive, logger) super().normalize(archive, logger)