Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
litman90 committed Nov 12, 2024
1 parent 1880d0a commit 36cbe9b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions ipi/pes/doublewell_with_friction.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ def __init__(
**kwargs
):

try:
w_b = w_b * invcm2au
v0 = v0 * invcm2au
self.delta = delta * A2au
self.eta0 = eta0
self.eps1 = eps1
self.eps2 = eps2
self.deltaQ = deltaQ
self.k = 1837.36223469 * (3800.0 / 219323.0) ** 2
self.A = -0.5 * m * (w_b) ** 2
self.B = ((m**2) * (w_b) ** 4) / (16 * v0)

except:
sys.exit(self.__doc__)
try:
w_b = w_b * invcm2au
v0 = v0 * invcm2au
self.delta = delta * A2au
self.eta0 = eta0
self.eps1 = eps1
self.eps2 = eps2
self.deltaQ = deltaQ
self.k = 1837.36223469 * (3800.0 / 219323.0) ** 2
self.A = -0.5 * m * (w_b) ** 2
self.B = ((m**2) * (w_b) ** 4) / (16 * v0)

except:
sys.exit(self.__doc__)

Check warning on line 69 in ipi/pes/doublewell_with_friction.py

View workflow job for this annotation

GitHub Actions / lint

F821 undefined name 'sys'

super().__init__(*args, **kwargs)

Expand Down

0 comments on commit 36cbe9b

Please sign in to comment.