Skip to content

Commit

Permalink
slkjf
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed May 7, 2024
1 parent 1068798 commit f40c966
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,7 @@ jobs:
- name: PyTest
run: |
pytest -rws -v ${{ matrix.cfg.pytest }} \
--cov=qcengine --cov-report=xml \
--color=yes --durations 50 --durations-min 20 \
qcengine/
pytest -rws -v ${{ matrix.cfg.pytest }} --cov=qcengine --color=yes --cov-report=xml qcengine/
- name: CodeCov
uses: codecov/codecov-action@v3
Expand Down
1 change: 0 additions & 1 deletion qcengine/procedures/qcmanybody.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import pprint
from typing import TYPE_CHECKING, Any, Dict, Union

from qcelemental.util import safe_version, which_import
Expand Down
11 changes: 1 addition & 10 deletions qcengine/programs/tests/test_ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,7 @@ def test_tricky_ghost(driver, qcprog, subject, basis, keywords):
res = qcng.compute(atin, qcprog, raise_error=True)
pytest.xfail("no ghosts with gamess")

config = qcng.config.get_config(
hostname="something",
task_config={
"ncores": 1,
"nnodes": 1,
"memory": 2.2,
},
)

atres = qcng.compute(atin, qcprog, task_config=config.dict())
atres = qcng.compute(atin, qcprog)
pprint.pprint(atres.dict(), width=200)

assert compare_values(
Expand Down
15 changes: 1 addition & 14 deletions qcengine/tests/test_mbe_ne2.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ def test_tu6_cp_ne2(qcprog):
def test_mbe_error():
from qcmanybody.models import ManyBodyInput

keywords = {
"cfour": {"frozen_core": True},
"gamess": {"contrl__ispher": 1},
"nwchem": {"ccsd__freeze__atomic": True, "basis__spherical": True},
"psi4": {"freeze_core": True},
}
basis = {
"cfour": "aug-pvdz",
"gamess": "accd",
"nwchem": "aug-cc-pvdz",
"psi4": "aug-cc-pvdz",
}

mbe_data = {
"specification": {
"specification": {
Expand Down Expand Up @@ -157,7 +144,6 @@ def test_mbe_error():
],
)
def test_optimization_qcmanybody(optimizer, bsse_type, sio):
from qcmanybody.models.generalized_optimization import GeneralizedOptimizationInput

initial_molecule = Molecule.from_data(
"""
Expand Down Expand Up @@ -220,6 +206,7 @@ def test_optimization_qcmanybody(optimizer, bsse_type, sio):
"trajectory": "initial_and_final",
},
}
# from qcmanybody.models.generalized_optimization import GeneralizedOptimizationInput
# opt_data = GeneralizedOptimizationInput(**opt_data)

ret = qcng.compute_procedure(opt_data, optimizer, raise_error=True)
Expand Down

0 comments on commit f40c966

Please sign in to comment.