Commit 02386cdf authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added metainfo python code.

parent 628e4b33
......@@ -21,8 +21,8 @@ def main():
version='0.1',
description='NOMAD parser implementation for Wien2k.',
license='APACHE 2.0',
package_dir={'': 'parser/parser-wien2k'},
packages=find_packages('parser/parser-wien2k'),
package_dir={'': './'},
packages=find_packages(),
install_requires=[
'nomadcore'
],
......
import sys
from nomad.metainfo import Environment
from nomad.metainfo.legacy import LegacyMetainfoEnvironment
import wien2kparser.metainfo.wien2k
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['wien2kparser.metainfo.wien2k'].m_package) # type: ignore
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
This diff is collapsed.
......@@ -82,4 +82,4 @@ def get_cachingLevelForMetaName(metaInfoEnv, CachingLvl):
}
return cachingLevelForMetaName
# loading metadata from nomad-meta-info/meta_info/nomad_meta_info/fhi_aims.nomadmetainfo.json
# loading metadata from nomad-meta-info/meta_info/nomad_meta_info/fhiaims.nomadmetainfo.json
Supports Markdown
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