Skip to content

Commit 1f57fd8

Browse files
committed
fix bug
1 parent 5d8bc72 commit 1f57fd8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

datajoint/blob.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@
3232
14: {"dtype": np.dtype("int64"), "scalar_type": "INT64"},
3333
15: {"dtype": np.dtype("uint64"), "scalar_type": "UINT64"},
3434
16: {"dtype": None, "scalar_type": "FUNCTION"},
35-
65536: {"dtype": np.dtype("<M8[Y]"), "scalar_type": "DATETIME64[Y]"},
36-
65537: {"dtype": np.dtype("<M8[M]"), "scalar_type": "DATETIME64[M]"},
37-
65538: {"dtype": np.dtype("<M8[W]"), "scalar_type": "DATETIME64[W]"},
38-
65539: {"dtype": np.dtype("<M8[D]"), "scalar_type": "DATETIME64[D]"},
39-
65540: {"dtype": np.dtype("<M8[h]"), "scalar_type": "DATETIME64[h]"},
40-
65541: {"dtype": np.dtype("<M8[m]"), "scalar_type": "DATETIME64[m]"},
41-
65542: {"dtype": np.dtype("<M8[s]"), "scalar_type": "DATETIME64[s]"},
42-
65543: {"dtype": np.dtype("<M8[ms]"), "scalar_type": "DATETIME64[ms]"},
43-
65544: {"dtype": np.dtype("<M8[us]"), "scalar_type": "DATETIME64[us]"},
44-
65545: {"dtype": np.dtype("<M8[ns]"), "scalar_type": "DATETIME64[ns]"},
45-
65546: {"dtype": np.dtype("<M8[ps]"), "scalar_type": "DATETIME64[ps]"},
46-
65547: {"dtype": np.dtype("<M8[fs]"), "scalar_type": "DATETIME64[fs]"},
47-
65536: {"dtype": np.dtype("<M8[as]"), "scalar_type": "DATETIME64[as]"},
35+
65536: {"dtype": np.dtype("datetime64[Y]"), "scalar_type": "DATETIME64[Y]"},
36+
65537: {"dtype": np.dtype("datetime64[M]"), "scalar_type": "DATETIME64[M]"},
37+
65538: {"dtype": np.dtype("datetime64[W]"), "scalar_type": "DATETIME64[W]"},
38+
65539: {"dtype": np.dtype("datetime64[D]"), "scalar_type": "DATETIME64[D]"},
39+
65540: {"dtype": np.dtype("datetime64[h]"), "scalar_type": "DATETIME64[h]"},
40+
65541: {"dtype": np.dtype("datetime64[m]"), "scalar_type": "DATETIME64[m]"},
41+
65542: {"dtype": np.dtype("datetime64[s]"), "scalar_type": "DATETIME64[s]"},
42+
65543: {"dtype": np.dtype("datetime64[ms]"), "scalar_type": "DATETIME64[ms]"},
43+
65544: {"dtype": np.dtype("datetime64[us]"), "scalar_type": "DATETIME64[us]"},
44+
65545: {"dtype": np.dtype("datetime64[ns]"), "scalar_type": "DATETIME64[ns]"},
45+
65546: {"dtype": np.dtype("datetime64[ps]"), "scalar_type": "DATETIME64[ps]"},
46+
65547: {"dtype": np.dtype("datetime64[fs]"), "scalar_type": "DATETIME64[fs]"},
47+
65548: {"dtype": np.dtype("datetime64[as]"), "scalar_type": "DATETIME64[as]"},
4848
}
4949
serialize_lookup = {
5050
v["dtype"]: {"type_id": k, "scalar_type": v["scalar_type"]}

0 commit comments

Comments
 (0)