Skip to content

error when running processing.ann2rr #453

@BarAbba39

Description

@BarAbba39

228 out_interval = time_interval / (60 * 60)
229 else:
--> 230 out_interval = np.around(time_interval * ann.fs).astype(np.int)
232 if as_array:
233 return out_interval

File ---/venv/lib/python3.10/site-packages/numpy/init.py:284, in getattr(attr)
281 from .testing import Tester
282 return Tester
--> 284 raise AttributeError("module {!r} has no attribute "
285 "{!r}".format(name, attr))

error: np has no attribute np.int

np.int was deprecated in 2021

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