chemcoord.zmat_functions.TestOperators¶
-
class
chemcoord.zmat_functions.TestOperators(test_operators, cls=None)[source]¶ Switch the validity testing of zmatrices resulting from operators.
The following examples is done with
+it is assumed, that addingzmat_1andzmat_2leads to a zmatrix with an invalid reference:with TestOperators(True): zmat_1 + zmat_2 # Raises InvalidReference Exception