Skip to content

Commit

Permalink
Minor improvements to basis set data
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRobidas committed Aug 23, 2022
1 parent 669f0f3 commit bcdd713
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion ccinput/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,17 @@ class CalcType(Enum):
"dgdzvp2": [],
"gdtzvp": [],
"cbsb7": [],
# Auxiliary
"def2": [],
"def2mtzvp": [],
"def2mtzvpp": [],
"x2c": [],
"sarc": [],
"w1mtsmall": [],
"w1dz": [],
"w1tz": [],
"w1qz": [],
"w1opt": [],
}

# Not all basis sets below will be in SYN_BASIS_SETS (to complete).
Expand Down Expand Up @@ -1897,6 +1908,17 @@ class CalcType(Enum):
"ccpcvdzf12": "cc-pCVDZ-F12",
"ccpcvtzf12": "cc-pCVTZ-F12",
"ccpcvqzf12": "cc-pCVQZ-F12",
# Auxiliary
"def2": "Def2",
"def2mtzvp": "Def2-mTZVP",
"def2mtzvpp": "Def2-mTZVPP",
"x2c": "x2c",
"sarc": "SARC",
"w1mtsmall": "W1-mtsmall",
"w1dz": "W1-DZ",
"w1tz": "W1-TZ",
"w1qz": "W1-QZ",
"w1opt": "W1-Opt",
},
"gaussian": {
"sto3g": "STO-3G",
Expand Down Expand Up @@ -2201,7 +2223,7 @@ class CalcType(Enum):
"ammonia": "ammonia",
"benzene": "benzene",
"carbontetrachloride": "ccl4",
"dichloromethane": "dcm",
"dichloromethane": "ch2cl2",
"chloroform": "chloroform",
"cyclohexane": "cyclohexane",
"dimethylformamide": "dmf",
Expand Down
2 changes: 1 addition & 1 deletion ccinput/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def get_method(method, software):
return method
else:
if abs_method not in SOFTWARE_METHODS[software]:
warn(f"Unknown method '{method}'")
warn(f"Unknown method for this package: '{method}'")
return method

return SOFTWARE_METHODS[software][abs_method]
Expand Down

0 comments on commit bcdd713

Please sign in to comment.