Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacing the np.int to native type int. #321

Merged
merged 2 commits into from
Jan 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion moabb/datasets/neiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _get_single_subject_data(self, subject: int):
run_data = []
for eeg, starts, stims in act["sessions"]:
starts = starts * self.sampling_rate / self._ms_in_sec
starts = starts.round().astype(np.int)
starts = starts.round().astype(int)
stims = stims + 1
stims_channel = np.zeros(eeg.shape[1])
target_channel = np.zeros(eeg.shape[1])
Expand Down