18
18
def cli ():
19
19
# pylint: disable=line-too-long
20
20
"""
21
- MDSAPT - Molecular Dynamics Symmetry-Adapted Perturbation Theory, by Alia Lescoulie, Astrid Yu, and Ashley Ringer McDonald.
21
+ MDSAPT - Molecular Dynamics Symmetry-Adapted Perturbation Theory
22
+
23
+ by Alia Lescoulie, Astrid Yu, and Ashley Ringer McDonald.
22
24
23
25
This command-line interface lets you easily do common MDSAPT-related tasks.
24
26
"""
@@ -76,8 +78,8 @@ def generate(filename: str, template: str, force: bool):
76
78
)
77
79
def run (in_file : str , out_file : str , force : bool ):
78
80
"""
79
- Run a SAPT calculation using the configuration in in_file. Outputs will be written to
80
- out_file.
81
+ Run a SAPT calculation using the configuration in in_file.
82
+ Outputs will be written to out_file.
81
83
"""
82
84
import mdsapt # pylint: disable=import-outside-toplevel
83
85
@@ -98,8 +100,8 @@ def run(in_file: str, out_file: str, force: bool):
98
100
99
101
def ensure_safe_to_overwrite (path : str , force : bool ):
100
102
"""
101
- Helper function to ensure that it's safe to overwrite the given file, and
102
- halts the program if not.
103
+ Helper function to ensure that it's safe to overwrite the given file,
104
+ and halts the program if not.
103
105
"""
104
106
if not os .path .exists (path ):
105
107
return
0 commit comments