You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
The loadContinuous() function in OpenEphys.py produces several VisibleDeprecationWarnings, for two reasons.
The first (lines 128, 129, 130) is because the constants defined around line 30 are floats instead of integers. This can be fixed by wrapping them in int().
The second (line 157) is because N is an array ([1024]) instead of an integer (1024), because np.fromfile() returns an array even when asked for a single value (line 147).
I'll submit a pull request with what I assume are the correct fixes.
The text was updated successfully, but these errors were encountered:
e-matteson
added a commit
to e-matteson/analysis-tools
that referenced
this issue
Oct 17, 2016
The
loadContinuous()
function inOpenEphys.py
produces severalVisibleDeprecationWarning
s, for two reasons.The first (lines 128, 129, 130) is because the constants defined around line 30 are floats instead of integers. This can be fixed by wrapping them in
int()
.The second (line 157) is because
N
is an array ([1024]
) instead of an integer (1024
), becausenp.fromfile()
returns an array even when asked for a single value (line 147).I'll submit a pull request with what I assume are the correct fixes.
The text was updated successfully, but these errors were encountered: