pwtools.parse.PwSCFOutputFile.assert_attr

PwSCFOutputFile.assert_attr(attr)

Raise AssertionError if self.<attr> is not set (is_set_attr() returns False.