Révision 10 ase/calculators/turbomole.py

turbomole.py (revision 10)
83 83
        # if update of forces is neccessary
84 84
        if self.update_forces:
85 85
            # calculate forces
86
            self.execute(self.calculate_forces + " > ASE.TM.forces.out")
86
            if self.calculate_forces is not None:
87
                self.execute(self.calculate_forces + " > ASE.TM.forces.out")
87 88
            # read forces
88 89
            self.read_forces()
89 90
        else :

Formats disponibles : Unified diff