Skip to content

Commit 0d5b6bd

Browse files
add property in prep for full sqs workflow
1 parent 0f72ba5 commit 0d5b6bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/atomate2/common/schemas/transform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,8 @@ class SQSTask(TransformTask):
6363
default=False,
6464
description="Whether the lowest possible SQS objective was attained.",
6565
)
66+
67+
@property
68+
def all_structures(self) -> list[Structure]:
69+
"""Return all structures, not just the most optimal SQS structure."""
70+
return [self.final_structure, *(self.sqs_structures or [])]

0 commit comments

Comments
 (0)