Skip to content

Commit

Permalink
[bugfix]: make openseize compatible with numpy > 2.0 by changing np.N…
Browse files Browse the repository at this point in the history
…aN to np.nan
  • Loading branch information
LeahMcIntyre committed Dec 6, 2024
1 parent c13b570 commit 6bb1613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openseize/file_io/edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def _read_array(self,
def read(self,
start: int,
stop: Optional[int] = None,
padvalue: float = np.NaN
padvalue: float = np.nan
) -> npt.NDArray[np.float64]:
"""Reads samples from this EDF from this Reader's channels.
Expand Down

0 comments on commit 6bb1613

Please sign in to comment.