Commit 823786ed authored by payno's avatar 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
......@@ -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
"Found several acquisition type "
"in the same file. Stop conversion at"
" {}".format(url)
elif (
not self._ignore_entry_frm_titles(group_name)
and current_acquisition is None
or current_acquisition.is_different_sequence(url)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment