Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
4be96d97
Commit
4be96d97
authored
4 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Minor documentation fixes.
parent
b530ece4
No related branches found
No related tags found
2 merge requests
!134
0.8.2 release
,
!132
Bugfixes markus
Pipeline
#78565
passed
4 years ago
Stage: build
Stage: test
Stage: deploy
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/parser_tutorial.md
+3
-3
3 additions, 3 deletions
docs/parser_tutorial.md
with
3 additions
and
3 deletions
docs/parser_tutorial.md
+
3
−
3
View file @
4be96d97
...
@@ -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.
## 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:
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment