Skip to content

Commit efe8997

Browse files
committed
change class in docs
1 parent af5aff8 commit efe8997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/learn/pynxtools/multi-format-reader.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,13 @@ Here, `key` is the config dict key (e.g., `"/ENTRY[my-entry]/data/data"`) and pa
266266

267267
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:
268268
```json
269-
"LENS_EM[lens_*{A,B,Foc}]": {
269+
"ELECTROMAGNETIC_LENS[lens_*{A,B,Foc}]": {
270270
"name": "*",
271271
"voltage": "@attrs:metadata/file/Lens:*:V",
272272
"voltage/@units": "V"
273273
},
274274
```
275-
which would write `NXlens_em` instances named `lens_A`, `lens_B`, and `lens_Foc`.
275+
which would write `NXelectromnagnetic_lens` instances named `lens_A`, `lens_B`, and `lens_Foc`.
276276

277277
- **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.
278278
```json

0 commit comments

Comments
 (0)