Commit e9ef2241 authored by Pierre Paleo's avatar Pierre Paleo

Merge branch 'release_2020.5.0' of gitlab_tet:tomotools/nabu into release_2020.5.0

parents 594cefed e91a99a2
Pipeline #37868 passed with stages
in 5 minutes and 45 seconds
......@@ -16,6 +16,7 @@ import typing
import h5py
from silx.io.url import DataUrl
from tomoscan.io import HDF5File
from silx.io.utils import h5py_read_dataset
import logging
MAX_DEPTH = 2
......@@ -56,7 +57,7 @@ def is_process_node(node):
'NX_class' in node.attrs and
node.attrs['NX_class'] == "NXprocess" and
'program' in node and
node['program'] [()] == 'tomwer_dark_refs' and
h5py_read_dataset(node['program']) == 'tomwer_dark_refs' and
'version' in node and
'sequence_index' in node)
......
Markdown is supported
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