Skip to content

Commit

Permalink
fix DW with friction driver broken few commits ago
Browse files Browse the repository at this point in the history
  • Loading branch information
litman90 committed Apr 8, 2024
1 parent b8c0236 commit 31df172
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/py/pes/doublewell_with_friction.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ def __init__(self, args=None, verbose=None):
self.error_msg = """\nDW+fric driver expects 8 arguments.\n
Example: python driver.py -m DoubleWell_with_fric -o omega_b (cm^-1) V0 (cm^-1) mass delta(\AA) eta0 eps1 eps2 deltaQ \n
python driver.py -m DoubleWell -o 500,2085,1837,0.00,1,0,0,1\n"""
super(DoubleWell_with_friction_driver, self).__init__(
args, error_msg=self.error_msg
)
# self.args = args
# self.check_arguments()
self.args = args.split(",")
self.verbose = verbose
self.check_arguments()

def check_arguments(self):
"""Function that checks the arguments required to run the driver"""
Expand Down

0 comments on commit 31df172

Please sign in to comment.