Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
4be96d97
Commit
4be96d97
authored
Jul 14, 2020
by
Markus Scheidgen
Browse files
Minor documentation fixes.
parent
b530ece4
Pipeline
#78565
passed with stages
in 27 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/parser_tutorial.md
View file @
4be96d97
...
...
@@ -313,7 +313,7 @@ is stored in a database for analysis. Do not abuse the logging.
## Testing and Debugging
You a writing a python program. You know what to do.
## Add
ed
the parser to nomad@FAIRDI
## Add
ing
the parser to nomad@FAIRDI
First, you add your parser to the dependencies. Put it into the dependencies folder, then:
```
...
...
@@ -346,13 +346,13 @@ parser_examples = [
## FAIRDI parsers
The new fairdi parsers avoid the use of a backend and instead make use of the new metainfo
sections. The project structure is the same as above with the addition of a
`
`metainfo`
`
sections. The project structure is the same as above with the addition of a
`metainfo`
folder
```
myparser/myparser/metainfo
```
This contains a file containing the definitions and an
`
`__init__.py`
`
. One should refer
This contains a file containing the definitions and an
`__init__.py`
. One should refer
to
`nomad.metainfo.example.py`
for a guide in writing the metainfo definitions.
Consequently, the parser class implementation is modified as in the following example.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment