def loadnexus(name): '''Load a HDF5 file and return a HDF5 tree manager''' import warnings warnings.warn("This will be deprecated in the next version", PendingDeprecationWarning) h5loader = _hdf5loader(name) return h5manager(h5loader.loadTree())
def loadnexus(name): """Load a HDF5 file and return a HDF5 tree manager""" import warnings warnings.warn("This will be deprecated in the next version", PendingDeprecationWarning) h5loader = _hdf5loader(name) return h5manager(h5loader.loadTree())
def __init__(self, name): self.ldr = _hdf5loader(name)
def __init__(self, name): if _hdf5loader is None: raise io_exception("HDf5 loader could not be imported") self.ldr = _hdf5loader(name)