From 4f08fd0ac2843c3a4763dfb567a3167fd118cb0a Mon Sep 17 00:00:00 2001 From: temok-mx <temok.mx@gmail.com> Date: Fri, 11 Sep 2020 17:37:42 +0200 Subject: [PATCH] Further update of README.md; mv metadata.yml -> metadata.yaml --- README.md | 8 +++++--- metadata.yml => metadata.yaml | 14 +++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) rename metadata.yml => metadata.yaml (77%) diff --git a/README.md b/README.md index cb462fd..c4f103a 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 8e75206..1daa377 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| -- GitLab