-
Notifications
You must be signed in to change notification settings - Fork 10
Remodel the eln_mapper
tool to use the NeXusTree
#607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
68a694c
remodel eln_mapper to use the NeXusTree
lukaspie 83fa296
do not generate root attributes in ELN
lukaspie 3c02e30
use abstract base classes
lukaspie 2a5b125
bug fix for filter options
lukaspie cb00a6d
fix for python>=3.9
lukaspie bd3a3dc
map all NeXus types to NOMAD quantities
lukaspie 2d83710
print a more informative error message in eln_mapper tests
lukaspie afa6cf4
use default readers to build valid ELN for direct upload
lukaspie e365888
add links to generate ELN schema
lukaspie 92338db
do not use deprecated m_annotations
lukaspie ff7f1be
fix for tests
lukaspie 4901c78
mypy fixes
lukaspie 2f033e1
fix test for nexus_tree
lukaspie 44b8035
fix test for eln_mapper
lukaspie da02c00
update default readers
lukaspie 6373779
restructure NOMAD imports
lukaspie 14089cd
include units for NumberEditQuantity
lukaspie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,8 +1,12 @@ | ||
# ELN generator | ||
|
||
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. | ||
|
||
- **`reader`**: The simple ELN generator that can be used in a console or jupyter-notebook, e.g. by the `pynxtools` dataconverter. | ||
- **`schema`**: Scheme based ELN generator that can be used in NOMAD and the ELN can be used as a custom scheme in NOMAD. | ||
|
||
Here you can find more information about the tool: | ||
|
||
- [API documentation](https://fairmat-nfdi.github.io/pynxtools/reference/cli-api.html#generate_eln) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.