Skip to content

Commit f58cf1f

Browse files
committed
recover get_ASU func
1 parent b638fdf commit f58cf1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyxtal/symmetry.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,14 @@ def get_lattice_id(self):
656656
id = 15
657657
return id
658658

659+
def get_ASU(self):
660+
"""
661+
Get the asymmetric unit for the space group.
662+
663+
Returns:
664+
list: A list of inequalities defining the asymmetric unit.
665+
"""
666+
return ASU[self.number-1]
659667

660668
def get_ASU_instance(self):
661669
"""

0 commit comments

Comments
 (0)