Skip to content

Commit

Permalink
update main, nexus, generate_eln readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Jan 31, 2024
1 parent ac19484 commit 355e1f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ data into the NeXus standard and visualising the files content.

- [**dataconverter**](https://github.com/FAIRmat-NFDI/pynxtools/blob/master/pynxtools/dataconverter/README.md): Creates compliant instances of NeXus/HDF5 files to [NeXus schemas](https://nexusformat.org).
- [**read_nexus**](https://github.com/FAIRmat-NFDI/pynxtools/blob/master/pynxtools/nexus/README.md): Outputs a debug log for a given NeXus file.
- [**generate_eln**](https://github.com/FAIRmat-NFDI/pynxtools/blob/master/pynxtools/eln_mapper/README.md): Outputs ELN files that can be used to add metadata to the dataconverter routine.

# Documentation
Documentation for the different tools can be found [here](https://fairmat-nfdi.github.io/pynxtools/).

# Contributing

Expand Down
11 changes: 6 additions & 5 deletions pynxtools/eln_mapper/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# 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>
$ generate_eln --options <value>
Options:
--nxdl TEXT Name of NeXus definition without extension
Expand All @@ -14,6 +15,6 @@ Options:
/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]
--eln-type [eln|scheme_eln] Choose a type of ELN output (eln or scheme_eln). [required]
--help Show this message and exit.
```
2 changes: 1 addition & 1 deletion pynxtools/nexus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ export 'NEXUS_DEF_PATH'=<folder_path_that_contains_nexus_defs>

Following example dataset can be used to test `read_nexus` module `tests/data/nexus/201805_WSe2_arpes.nxs`.
This is an angular-resolved photoelectron spectroscopy (ARPES) dataset and it is formatted according to
the [NXarpes application definition of NEXUS](https://manual.nexusformat.org/classes/applications/NXarpes.html#nxarpes).
the [NXarpes application definition of NeXus](https://manual.nexusformat.org/classes/applications/NXarpes.html#nxarpes).

0 comments on commit 355e1f9

Please sign in to comment.