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
tomotools
nxtomomill
Commits
823786ed
Commit
823786ed
authored
Apr 21, 2021
by
payno
Browse files
[hdf5converter] when we start on a xrd data insure we do not meet any other format.
If so stop the conversion at this step.
parent
a2fd23bf
Pipeline
#45314
passed with stages
in 9 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/hdf5converter.py
View file @
823786ed
...
...
@@ -398,7 +398,15 @@ class _H5ToNxConverter:
entry_type
=
get_entry_type
(
url
=
url
,
configuration
=
self
.
configuration
)
if
self
.
configuration
.
is_xrdc_ct
:
if
(
if
entry_type
is
AcquisitionStep
.
INITIALIZATION
:
current_acquisition
=
None
_logger
.
warning
(
"Found several acquisition type "
"in the same file. Stop conversion at"
" {}"
.
format
(
url
)
)
break
elif
(
not
self
.
_ignore_entry_frm_titles
(
group_name
)
and
current_acquisition
is
None
or
current_acquisition
.
is_different_sequence
(
url
)
...
...
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