示例#1
0
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())
示例#2
0
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)
示例#4
0
 def __init__(self, name):
     self.ldr = _hdf5loader(name)
示例#5
0
 def __init__(self, name):
     if _hdf5loader is None:
         raise io_exception("HDf5 loader could not be imported")
     self.ldr = _hdf5loader(name)