GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit e203cd58 authored by payno's avatar payno

[io] use File from silx.io.h5pu_utils from silx if exists instead of our own HDF5File

parent a571caa2
Pipeline #41370 failed with stages
in 2 minutes and 35 seconds
......@@ -39,7 +39,10 @@ import numpy
from silx.io.url import DataUrl
from silx.utils.enum import Enum as _Enum
from tomoscan.utils import docstring
from tomoscan.io import HDF5File
try:
from silx.io.h5py_utils import File as HDF5File
except ImportError:
from tomoscan.io import HDF5File
from silx.io.utils import get_data
from ..unitsystem import metricsystem
from .utils import get_compacted_dataslices
......
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