Skip to content

Commit

Permalink
Fix compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Jan 5, 2023
1 parent 3e719de commit 6dfd216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/storage/hdfio.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _is_convertable_dtype_object_array(obj):
# TODO: remove this function upon 1.0.0 release
@staticmethod
def _convert_dtype_obj_array(obj: np.ndarray):
result = np.array(obj.tolist())
result = np.array(obj.tolist(), dtype=object)
if result.dtype != np.dtype(object):
state.logger.warning(
f"Deprecated data structure! "
Expand Down

0 comments on commit 6dfd216

Please sign in to comment.