pwtools
Navigation
API Reference
Features
Installation
Tutorial
Background, details, special topics
Related Topics
Documentation overview
API Reference
crys
pwtools.crys.Structure
Previous:
pwtools.crys.Structure.apply_units
Next:
pwtools.crys.Structure.assert_attr_lst
Quick search
pwtools.crys.Structure.assert_attr
¶
Structure.
assert_attr
(
attr
)
¶
Raise AssertionError if self.<attr> is not set (is_set_attr() returns False.