Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
nxtomomill
Commits
1414a6a7
Commit
1414a6a7
authored
Sep 02, 2021
by
Henri Payno
Browse files
[hdf5converter] add a test on 'get_bliss_tomo_entries' function
parent
199d73f1
Pipeline
#53976
failed with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/test/test_hdf5converter.py
View file @
1414a6a7
...
...
@@ -94,6 +94,8 @@ class TestH5ToNxConverter(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
exists
(
sample
.
sample_file
))
self
.
config
.
output_file
=
sample
.
sample_file
.
replace
(
".h5"
,
".nx"
)
self
.
config
.
input_file
=
sample
.
sample_file
assert
len
(
converter
.
get_bliss_tomo_entries
(
sample
.
sample_file
,
self
.
config
))
==
1
converter
.
from_h5_to_nx
(
configuration
=
self
.
config
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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