pwtools.parse.PwSCFOutputFile.assert_set_attr

PwSCFOutputFile.assert_set_attr(attr)

Same as assert_attr(), but run try_set_attr() first.