diff --git a/README.md b/README.md index cb462fd45cbcaa09ed35186e2d36b31cf4a3e775..c4f103a75a1abd168731558f525fe038226c9f9b 100644 --- a/README.md +++ b/README.md @@ -81,12 +81,12 @@ import sys from nomad.cli.parse import parse, normalize_all # match and run the parser -backend = parse(sys.argv[1]) +archive = parse(sys.argv[1]) # run all normalizers -normalize_all(backend) +normalize_all(archive) # get the 'main section' section_run as a metainfo object -section_run = backend.resource.contents[0].section_run[0] +section_run = archive.section_run[0] # get the same data as JSON serializable Python dict python_dict = section_run.m_to_dict() @@ -108,3 +108,5 @@ pip install -e parser-exciting ``` Running the parser now, will use the parser's Python code from the clone project. + + diff --git a/metadata.yml b/metadata.yaml similarity index 77% rename from metadata.yml rename to metadata.yaml index 8e75206fbc51ddfc78fa3e48433d9bfebd901e0e..1daa377f6b52d193d3a85d898192dea06e9f0af2 100644 --- a/metadata.yml +++ b/metadata.yaml @@ -1,10 +1,10 @@ -code-label: exciting -code-label-style: All in LOWER case -code-url: http://exciting-code.org/ -parser-dir-name: dependencies/parsers/exciting/ -parser-git-url: https://gitlab.mpcdf.mpg.de/nomad-lab/parser-exciting -parser-specific: '' -table-of-files: | +codeLabel: exciting +codeLabelStyle: All in LOWER case +codeUrl: http://exciting-code.org/ +parserDirName: dependencies/parsers/exciting/ +parserGitUrl: https://gitlab.mpcdf.mpg.de/nomad-lab/parser-exciting +parserSpecific: '' +tableOfFiles: | |Input Filename| Description| |--- | --- | |`INFO.OUT`| mainfile|