From 38347d1644e29f2edc5511c58aaecfe6bf2216f8 Mon Sep 17 00:00:00 2001 From: JosePizarro3 Date: Wed, 24 Jul 2024 11:02:13 +0200 Subject: [PATCH] Fixed archive.data def --- src/nomad_parser_wannier90/parsers/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nomad_parser_wannier90/parsers/parser.py b/src/nomad_parser_wannier90/parsers/parser.py index 9f09cad..7e65a50 100644 --- a/src/nomad_parser_wannier90/parsers/parser.py +++ b/src/nomad_parser_wannier90/parsers/parser.py @@ -451,7 +451,7 @@ def parse( version=self.wout_parser.get('version', ''), link='https://wannier.org/', ) - archive.m_add_sub_section(EntryArchive.data, simulation) + archive.data = simulation # `ModelSystem` parsing model_system = self.parse_model_system(logger)