Skip to content

Commit

Permalink
Fix metainfo issue in h5md
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Aug 26, 2024
1 parent 7aabf88 commit 3e8fa27
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion atomisticparsers/h5md/metainfo/h5md.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ class Author(MSection):
)


class Program(runschema.run.Program):
m_def = Section(
validate=False,
extends_base_section=True,
)


class Run(runschema.run.Run):
m_def = Section(
validate=False,
Expand All @@ -229,4 +236,4 @@ class Run(runschema.run.Run):

x_h5md_author = SubSection(sub_section=Author.m_def)

x_h5md_creator = SubSection(sub_section=runschema.run.Program.m_def)
x_h5md_creator = SubSection(sub_section=Program.m_def)

0 comments on commit 3e8fa27

Please sign in to comment.