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