From 83add19549ba21a438a3c06c4e14c76799f0775c Mon Sep 17 00:00:00 2001 From: bruAristimunha Date: Fri, 18 Oct 2024 14:36:09 +0200 Subject: [PATCH] DOC: fixing the docstring --- moabb/analysis/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moabb/analysis/results.py b/moabb/analysis/results.py index 1c539983b..e3f224e41 100644 --- a/moabb/analysis/results.py +++ b/moabb/analysis/results.py @@ -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.str_( + f.attrs["create_time"] = np.bytes_( "{:%Y-%m-%d, %H:%M}".format(datetime.now()) )