Commit df8001b
authored
Fixes enumeration check (#313)
* Fixes enumeration check
* Updates get_enums function
* Update definitions
* Change errors to warnings
* Adapt tests
* Update defs
* Check full inheritance chain for enums
* Respond to None in get_enums
* Update defs
* Cleanup return get_inherited_nodes
* Update definitions1 parent c91046e commit df8001b
File tree
4 files changed
+22
-13
lines changed- pynxtools
- dataconverter
- tests/dataconverter
4 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
275 | 273 | | |
276 | 274 | | |
277 | 275 | | |
| |||
465 | 463 | | |
466 | 464 | | |
467 | 465 | | |
468 | | - | |
| 466 | + | |
469 | 467 | | |
470 | 468 | | |
471 | 469 | | |
| |||
617 | 615 | | |
618 | 616 | | |
619 | 617 | | |
620 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
621 | 622 | | |
622 | | - | |
| 623 | + | |
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
| |||
Submodule definitions updated 50 files
- contributed_definitions/NXapm.nxdl.xml+10-10
- contributed_definitions/NXapm_charge_state_analysis.nxdl.xml+2-2
- contributed_definitions/NXapm_compositionspace_config.nxdl.xml+152
- contributed_definitions/NXapm_compositionspace_results.nxdl.xml+375
- contributed_definitions/NXapm_paraprobe_intersector_config.nxdl.xml+1-1
- contributed_definitions/NXapm_paraprobe_nanochem_config.nxdl.xml+77-47
- contributed_definitions/NXapm_paraprobe_nanochem_results.nxdl.xml+66-49
- contributed_definitions/NXcg_primitive_set.nxdl.xml+1-1
- contributed_definitions/NXcrystal_structure.nxdl.xml+2-2
- contributed_definitions/NXdelocalization.nxdl.xml+3-3
- contributed_definitions/NXebeam_column.nxdl.xml+1-6
- contributed_definitions/NXevent_data_apm.nxdl.xml+1-1
- contributed_definitions/NXgraph_edge_set.nxdl.xml+1-1
- contributed_definitions/NXgraph_node_set.nxdl.xml+1-1
- contributed_definitions/NXion.nxdl.xml+1-1
- contributed_definitions/NXlens_em.nxdl.xml+6-6
- contributed_definitions/NXms.nxdl.xml+1-1
- contributed_definitions/NXms_feature_set.nxdl.xml+1-1
- contributed_definitions/NXms_recon.nxdl.xml+3-3
- contributed_definitions/NXms_score_results.nxdl.xml+1-1
- contributed_definitions/NXms_snapshot_set.nxdl.xml+6-6
- contributed_definitions/NXoptical_system_em.nxdl.xml+1-1
- contributed_definitions/NXunit_cell.nxdl.xml+9-9
- contributed_definitions/nyaml/NXapm.yaml+11-11
- contributed_definitions/nyaml/NXapm_charge_state_analysis.yaml+2-2
- contributed_definitions/nyaml/NXapm_composition_space_results.yaml-879
- contributed_definitions/nyaml/NXapm_compositionspace_config.yaml+94
- contributed_definitions/nyaml/NXapm_compositionspace_results.yaml+275
- contributed_definitions/nyaml/NXapm_paraprobe_intersector_config.yaml+1-1
- contributed_definitions/nyaml/NXapm_paraprobe_nanochem_config.yaml+63-33
- contributed_definitions/nyaml/NXapm_paraprobe_nanochem_results.yaml+53-40
- contributed_definitions/nyaml/NXcg_primitive_set.yaml+1-1
- contributed_definitions/nyaml/NXcrystal_structure.yaml+2-2
- contributed_definitions/nyaml/NXdelocalization.yaml+3-3
- contributed_definitions/nyaml/NXebeam_column.yaml+1-1
- contributed_definitions/nyaml/NXevent_data_apm.yaml+1-1
- contributed_definitions/nyaml/NXgraph_edge_set.yaml+1-1
- contributed_definitions/nyaml/NXgraph_node_set.yaml+1-1
- contributed_definitions/nyaml/NXion.yaml+1-1
- contributed_definitions/nyaml/NXlens_em.yaml+6-6
- contributed_definitions/nyaml/NXms.yaml+1-1
- contributed_definitions/nyaml/NXms_feature_set.yaml+2-2
- contributed_definitions/nyaml/NXms_recon.yaml+3-3
- contributed_definitions/nyaml/NXms_score_results.yaml+1-1
- contributed_definitions/nyaml/NXms_snapshot_set.yaml+2-2
- contributed_definitions/nyaml/NXoptical_system_em.yaml+1-1
- contributed_definitions/nyaml/NXunit_cell.yaml+4-4
- dev_tools/tests/test_nxdl_utils.py+59-3
- dev_tools/utils/nxdl_utils.py+70-34
- manual/source/classes/contributed_definitions/apm-structure.rst+17
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
433 | 441 | | |
434 | 442 | | |
435 | 443 | | |
| |||
0 commit comments