Skip to content
Snippets Groups Projects
Commit 4be96d97 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor documentation fixes.

parent b530ece4
No related branches found
No related tags found
2 merge requests!1340.8.2 release,!132Bugfixes markus
Pipeline #78565 passed
...@@ -313,7 +313,7 @@ is stored in a database for analysis. Do not abuse the logging. ...@@ -313,7 +313,7 @@ is stored in a database for analysis. Do not abuse the logging.
## Testing and Debugging ## Testing and Debugging
You a writing a python program. You know what to do. You a writing a python program. You know what to do.
## Added the parser to nomad@FAIRDI ## Adding the parser to nomad@FAIRDI
First, you add your parser to the dependencies. Put it into the dependencies folder, then: First, you add your parser to the dependencies. Put it into the dependencies folder, then:
``` ```
...@@ -346,13 +346,13 @@ parser_examples = [ ...@@ -346,13 +346,13 @@ parser_examples = [
## FAIRDI parsers ## FAIRDI parsers
The new fairdi parsers avoid the use of a backend and instead make use of the new metainfo 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 folder
``` ```
myparser/myparser/metainfo 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. 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. Consequently, the parser class implementation is modified as in the following example.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment