Skip to content

Commit 2de051d

Browse files
committed
return trajectory as pmg dict
1 parent d5a25b1 commit 2de051d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp_api/client/routes/materials/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_trajectory(self, task_id):
5454
if not traj_data:
5555
raise MPRestError(f"No trajectory data for {task_id} found")
5656

57-
return RelaxTrajectory(**traj_data[0]).to_pmg()
57+
return RelaxTrajectory(**traj_data[0]).to_pmg().as_dict()
5858

5959
def search(
6060
self,

0 commit comments

Comments
 (0)