prisms-center / CASMcode_crystallography

CASM crystallography
Other
0 stars 4 forks source link

make_primitive removes occ_dof #32

Closed xivh closed 8 months ago

xivh commented 10 months ago
from libcasm.xtal import make_primitive
from libcasm.xtal.prims import BCC

prim = BCC(a=1)
print(prim.occ_dof())
prim = make_primitive(prim)
print(prim.occ_dof())
>>> [['A', 'B']]
>>> []
bpuchala commented 8 months ago

This is fixed by ad53e1c