Skip to content

H5pyDeprecationWarning #3

Description

@nilsmodrow

Using the sdf.load function results in a H5pyDeprecationWarning:

H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
"Use dataset[()] instead.", H5pyDeprecationWarning)

Code example:

import sdf
import numpy as np

g = sdf.Group(name='/')

g.datasets.append(sdf.Dataset(name='test',
                              data=np.array([1, 2, 3]),
                              unit='s',
                              comment='test',
                              is_scale=True))
sdf.save('test.sdf', g)
g = sdf.load('test.sdf')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions