Skip to content

Commit 5d8bc72

Browse files
committed
apply suggestions from code review.
1 parent 333b44b commit 5d8bc72

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-
128: {"dtype": np.dtype("<M8[Y]"), "scalar_type": "DATETIME64[Y]"},
36-
129: {"dtype": np.dtype("<M8[M]"), "scalar_type": "DATETIME64[M]"},
37-
130: {"dtype": np.dtype("<M8[W]"), "scalar_type": "DATETIME64[W]"},
38-
131: {"dtype": np.dtype("<M8[D]"), "scalar_type": "DATETIME64[D]"},
39-
132: {"dtype": np.dtype("<M8[h]"), "scalar_type": "DATETIME64[h]"},
40-
133: {"dtype": np.dtype("<M8[m]"), "scalar_type": "DATETIME64[m]"},
41-
134: {"dtype": np.dtype("<M8[s]"), "scalar_type": "DATETIME64[s]"},
42-
135: {"dtype": np.dtype("<M8[ms]"), "scalar_type": "DATETIME64[ms]"},
43-
136: {"dtype": np.dtype("<M8[us]"), "scalar_type": "DATETIME64[us]"},
44-
137: {"dtype": np.dtype("<M8[ns]"), "scalar_type": "DATETIME64[ns]"},
45-
138: {"dtype": np.dtype("<M8[ps]"), "scalar_type": "DATETIME64[ps]"},
46-
139: {"dtype": np.dtype("<M8[fs]"), "scalar_type": "DATETIME64[fs]"},
47-
140: {"dtype": np.dtype("<M8[as]"), "scalar_type": "DATETIME64[as]"},
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]"},
4848
}
4949
serialize_lookup = {
5050
v["dtype"]: {"type_id": k, "scalar_type": v["scalar_type"]}

0 commit comments

Comments
 (0)