We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd412fc commit d9c84e1Copy full SHA for d9c84e1
ccinput/packages/nwchem.py
@@ -60,7 +60,7 @@ class NWChemCalculation:
60
61
def __init__(self, calc):
62
self.calc = calc
63
- self.calc.mem = f"{self.calc.mem} mb"
+ self.calc.mem = f"{int(self.calc.mem/self.calc.nproc)} mb"
64
self.has_scan = False
65
self.appendix = []
66
self.command_line = ""
ccinput/packages/xtb.py
@@ -241,7 +241,7 @@ def handle_specifications(self):
241
self.concerted_scan = True
242
243
else:
244
- raise InvalidParameter("Invalid specification: {ss}")
+ raise InvalidParameter(f"Invalid specification: {ss}")
245
elif len(ss) == 2:
246
if ss[0] == "o" or ss[0] == "opt":
247
if ss[1] not in [
0 commit comments