Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: coverage run setup.py test
run: coverage run -m pytest
- name: Verify Coverage
if: github.event_name == 'push'
uses: codecov/codecov-action@v1.5.2
Expand Down
13 changes: 12 additions & 1 deletion ccinput/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,16 @@ class CalcType(Enum):
"hf": ["hartreefock"],
# Some old exotic semi-empirical methods in ORCA are missing
"semiempirical": ["am1", "pm3", "pm6", "pm7", "mndo"],
"xtb": ["gfn2xtb", "xtb2", "xtb1", "gfn1xtb", "gfn0xtb", "gfnff", "gfn2xtbgfnff"],
"xtb": [
"gfn2xtb",
"xtb2",
"xtb1",
"gfn1xtb",
"gfn0xtb",
"gfnff",
"gfn2xtbgfnff",
"gxtb",
],
"special": ["hf3c", "pbeh3c", "r2scan3c", "b973c"],
"mp2": ["mp2", "rimp2", "direct_mp2"],
"cc": [
Expand Down Expand Up @@ -171,6 +180,7 @@ class CalcType(Enum):
"xtb": [],
"psi4": ["psi4"],
"nwchem": [],
"pyscf": [],
}

# Synonym for each solvent.
Expand Down Expand Up @@ -1696,6 +1706,7 @@ class CalcType(Enum):
"gfn0xtb": "gfn0-xtb",
"gfnff": "gfn-ff",
"gfn2xtbgfnff": "gfn2-xtb//gfn-ff",
"gxtb": "gxtb",
},
"psi4": {
"hf": "scf",
Expand Down
2 changes: 1 addition & 1 deletion ccinput/packages/nwchem.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def add_option(self, key, option):
# User has to put some of the following keyword as specification, independant of what calculation was specified in input
if key in [
"string",
"freezing string sethod",
"freezing string method",
"fsm",
"freezing string",
]:
Expand Down
8 changes: 2 additions & 6 deletions ccinput/packages/orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ def handle_command(self):
MO("in-LUMO.cube",{n_LUMO},0);
MO("in-LUMOA.cube",{n_LUMO1},0);
MO("in-LUMOB.cube",{n_LUMO2},0);
""".split(
"\n"
),
""".split("\n"),
)
elif self.calc.type == CalcType.FREQ:
self.command_line = "FREQ "
Expand Down Expand Up @@ -429,9 +427,7 @@ def create_input_file(self):
self.block_lines += """%{}
{}
end
""".format(
name, "\n".join(content).strip()
)
""".format(name, "\n".join(content).strip())

self.block_lines += f"""%MaxCore {self.mem_per_core}"""

Expand Down
Loading
Loading