Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ message:
If you use this software, please cite it using the
metadata from this file.
type: software
version: 0.11.0
version: 0.11.1
authors:
- given-names: Sherjeel
family-names: Shabih
Expand Down
4 changes: 2 additions & 2 deletions docs/learn/pynxtools/multi-format-reader.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ Here, `key` is the config dict key (e.g., `"/ENTRY[my-entry]/data/data"`) and pa

The same wildcard notation can also be used within a name to repeat entries with different names (e.g., field_*{my, name, etc} is converted into three keys with * replaced by my, name, etc, respectively). As an example, for multiple lenses and their voltage readouts, one could write:
```json
"LENS_EM[lens_*{A,B,Foc}]": {
"ELECTROMAGNETIC_LENS[lens_*{A,B,Foc}]": {
"name": "*",
"voltage": "@attrs:metadata/file/Lens:*:V",
"voltage/@units": "V"
},
```
which would write `NXlens_em` instances named `lens_A`, `lens_B`, and `lens_Foc`.
which would write `NXelectromagnetic_lens` instances named `lens_A`, `lens_B`, and `lens_Foc`.

- **Required fields in optional groups**: There will sometimes be the situation that there is an optional NeXus group in an application definition, that (if implemented) requires some sub-element. As an example, for the instrument's energy resolution, the only value expected to come from a data source is the `resolution`, whereas other fields are hardcoded.
```json
Expand Down
2 changes: 1 addition & 1 deletion src/pynxtools/nexus-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2024.02-1989-gc0f643ac
v2024.02-1990-gb4acce96
Loading