Skip to content

H5pyDeprecationWarning #3

Closed
Closed

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')

Activity

  1. added a commit that references this issue on Oct 16, 2020
    91c8ca5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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