Skip to content

Commit

Permalink
switch to cls=None
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Sep 19, 2023
1 parent de84d46 commit 50040d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gufe/custom_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def is_openff_quantity_dict(dct):


NPY_DTYPE_CODEC = JSONCodec(
cls=np.generic,
cls=None,
to_dict=lambda obj: {
'dtype': str(obj.dtype),
'bytes': obj.tobytes(),
Expand Down

0 comments on commit 50040d7

Please sign in to comment.