Skip to content

Commit

Permalink
MNT: fixing the numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bruAristimunha committed Oct 18, 2024
1 parent ca79b90 commit 6fddf25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moabb/analysis/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(

if not osp.isfile(self.filepath):
with h5py.File(self.filepath, "w") as f:
f.attrs["create_time"] = np.string_(
f.attrs["create_time"] = np.str_(
"{:%Y-%m-%d, %H:%M}".format(datetime.now())
)

Expand Down

0 comments on commit 6fddf25

Please sign in to comment.