Skip to content

Commit

Permalink
Misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRobidas committed Dec 7, 2022
1 parent 41458a0 commit d75a79e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ccinput/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class CalcType(Enum):
"ethanol": [],
"isoquinoline": [],
"quinoline": [],
"dichloroethane": [],
"dichloroethane": ["12dichloroethane"],
"carbontetrachloride": ["ccl4", "carbontetrachloride"],
"chlorobenzene": ["phcl"],
"nitromethane": ["meno2"],
Expand Down
2 changes: 1 addition & 1 deletion ccinput/drivers/pysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PysisDriver:

def __init__(self, calc):
self.calc = calc
self.command_line = "pysis calc.inp"
self.command = "pysis calc.inp"

self.input_file = ""

Expand Down
3 changes: 2 additions & 1 deletion ccinput/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ def get_abs_solvent(solvent):
for solv in SYN_SOLVENTS:
if _solvent in SYN_SOLVENTS[solv] or _solvent == solv:
return solv
raise InvalidParameter(f"Unknown solvent: '{solvent}'")
warn(f"Unknown solvent: '{solvent}'")
return solv


def is_exchange_correlation_combination(method):
Expand Down

0 comments on commit d75a79e

Please sign in to comment.