Commit e1a03db7 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added metainfo python code.

parent 42b2b0ea
Pipeline #81210 failed with stage
import sys
from nomad.metainfo import Environment
from nomad.metainfo.legacy import LegacyMetainfoEnvironment
import nomad.datamodel.metainfo.common
import nomad.datamodel.metainfo.public
import nomad.datamodel.metainfo.general
m_env = LegacyMetainfoEnvironment()
m_env.m_add_sub_section(Environment.packages, sys.modules['nomad.datamodel.metainfo.common'].m_package) # type: ignore
m_env.m_add_sub_section(Environment.packages, sys.modules['nomad.datamodel.metainfo.public'].m_package) # type: ignore
m_env.m_add_sub_section(Environment.packages, sys.modules['nomad.datamodel.metainfo.general'].m_package) # type: ignore
......@@ -64,7 +64,7 @@ class BigDFTParser(ParserInterface):
self.setup_main_parser(version_id)
def get_metainfo_filename(self):
return "big_dft.nomadmetainfo.json"
return "bigdft.nomadmetainfo.json"
def get_parser_info(self):
return {'name': 'big-dft-parser', 'version': '1.0'}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment