file TensorMol/ForceModifiers/Periodic.py line 400: return etore, ftore should be changed to: if (DoForce): return etore, ftore else: return etore