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
eca98ae9
Commit
eca98ae9
authored
Jun 04, 2021
by
Matias Guijarro
Browse files
Merge branch '2793-ci-of-master-is-broken' into 'master'
Resolve "CI of master is broken" Closes
#2793
See merge request
!3763
parents
d4f0fa19
7f7017ec
Pipeline
#47998
passed with stages
in 126 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/nexus_writer/helpers/nxw_test_data.py
View file @
eca98ae9
...
...
@@ -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