diff --git a/pyiron_base/storage/flattenedstorage.py b/pyiron_base/storage/flattenedstorage.py index 11ca5cfe0..b3d7aeff6 100644 --- a/pyiron_base/storage/flattenedstorage.py +++ b/pyiron_base/storage/flattenedstorage.py @@ -29,17 +29,22 @@ from pyiron_base.interfaces.lockable import Lockable, sentinel +_CHARSIZE = np.dtype("U1").itemsize + + def _ensure_str_array_size(array, strlen): """ Ensures that the given array can store at least string of length `strlen`. Args: array (ndarray): array of dtype