Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
7f7017ec
Commit
7f7017ec
authored
Jun 03, 2021
by
Wout De Nolf
Browse files
tests: transfocator config has changed
parent
d4f0fa19
Pipeline
#47972
passed with stages
in 111 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/nexus_writer/helpers/nxw_test_data.py
View file @
7f7017ec
...
...
@@ -515,7 +515,7 @@ def validate_instrument(
assert
content
[
"@NX_class"
]
==
"NXcollection"
# The value of the L and P datasets is `True`, `False` or `None`.
# A dataset value of `Ǹone` which is skipped by dicttonx;
maxkeys
=
{
"@NX_class"
,
"L1"
,
"L2"
,
"L3"
,
"L4"
,
"L5"
,
"L6"
,
"L7"
,
"L8"
,
"P0"
}
maxkeys
=
{
"@NX_class"
,
"L1"
,
"L2"
,
"L3"
,
"L4"
,
"L5"
,
"L6"
,
"L7"
,
"L8"
,
"P0"
,
"P9"
}
assert
not
(
set
(
content
.
keys
())
-
maxkeys
)
content
=
dictdump
.
nxtodict
(
instrument
[
"machine"
],
asarray
=
False
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment