Skip to content

Commit 75e28f4

Browse files
committed
Oops, this should be from_dict()
1 parent 2ba3a79 commit 75e28f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _deserialize_internal(env, data, data_type):
261261
traj.deserialize(data['data'])
262262
return traj
263263
elif data_type == TSR.__name__:
264-
return TSR.to_dict(data['data'])
264+
return TSR.from_dict(data['data'])
265265
elif data_type == TSRChain.__name__:
266266
return TSRChain.from_dict(data['data'])
267267
else:

0 commit comments

Comments
 (0)