Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/oet/calculator/xtb.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ def run_xtb(
calc_data: CalculationData
Object with calculation data for the run
"""
args += [
# Set up a list of command-line arguments for the xtb program.
# For the xtb package, not all additional command-line arguments (e.g., specifying a solvation model)
# can be passed before the structure input, so pass the additional args at the end.
args = [
str(i)
for i in [
calc_data.xyzfile,
Expand All @@ -124,7 +127,7 @@ def run_xtb(
"--namespace",
calc_data.basename,
]
]
] + args
nue = mult_to_nue(calc_data.mult)
if nue:
args += ["-u", str(nue)]
Expand Down
Loading