Define Dimension formatters for numpy integer types
@@ -14,6 +14,12 @@ archive = FileArchive()
# Define default type formatters
Dimension.type_formatters[int] = "%d"
+Dimension.type_formatters[np.uint16] = '%d'
+Dimension.type_formatters[np.int16] = '%d'
+Dimension.type_formatters[np.uint32] = '%d'
+Dimension.type_formatters[np.int32] = '%d'
+Dimension.type_formatters[np.uint64] = '%d'
+Dimension.type_formatters[np.int64] = '%d'
Dimension.type_formatters[float] = "%.5g"
Dimension.type_formatters[np.float32] = "%.5g"
Dimension.type_formatters[np.float64] = "%.5g"
