-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from FAIRmat-NFDI/readme-updates
Update main, nexus, generate_eln READMEs
- Loading branch information
Showing
4 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
# ELN generator | ||
This is a helper tool for generating eln | ||
- The simple eln generator that can be used in a console or jupyter-notebook | ||
- Scheme based eln generator that can be used in NOMAD and the eln can be used as a custom scheme in NOMAD. | ||
This is a helper tool for generating ELN files that can be used to add metadata to the dataconverter routine. | ||
Two types of ELN are supported (by passing the flag `eln-type`): | ||
- **eln**: The simple ELN generator that can be used in a console or jupyter-notebook. | ||
- **scheme_eln**: Scheme based ELN generator that can be used in NOMAD and the ELN can be used as a custom scheme in NOMAD. | ||
|
||
``` | ||
$ eln_generator --options <value> | ||
user@box:~$ generate_eln --help | ||
Usage: generate_eln [OPTIONS] | ||
Helper tool for generating ELN files in YAML format. | ||
Options: | ||
--nxdl TEXT Name of NeXus definition without extension | ||
(.nxdl.xml). [required] | ||
--skip-top-levels INTEGER To skip upto a level of parent hierarchical structure. | ||
--skip-top-levels INTEGER To skip the level of parent hierarchy level. | ||
E.g. for default 1 the part Entry[ENTRY] from | ||
/Entry[ENTRY]/Instrument[INSTRUMENT]/... will | ||
be skiped. [default: 1] | ||
--output-file TEXT Name of output file. | ||
--eln-type [eln|scheme_eln] Choose a type from the eln or scheme_eln. [required] | ||
--output-file TEXT Name of file that is neede to generated output | ||
file. | ||
--eln-type [eln|scheme_eln] Choose a type of ELN output (eln or | ||
scheme_eln). [required] | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters