Skip to content

Commit

Permalink
opt markers
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Jul 9, 2024
1 parent 5105082 commit 4255419
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,8 @@ markers = [
"cfour: tests using CFOUR software; skip if unavailable",
"nwchem: tests using classic NWChem software; skip if unavailable",
"psi4: tests using Psi4 software; skip if unavailable",
"geometric: tests using GeomeTRIC software; skip if unavailable",
"geometric_genopt: tests using GeomeTRIC software with new additions; skip if unavailable",
"optking: tests using OptKing software; skip if unavailable",
"optking_genopt: tests using OptKin software with new additions; skip if unavailable",
]
3 changes: 3 additions & 0 deletions qcmanybody/tests/addons.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def has_program(name):
return _programs[name]
elif name in _programs_qcng:
return _programs_qcng[name]
elif name in ["optking_genopt", "geometric_genopt"]:
# give up rather than duplicate
return False
else:
raise KeyError(f"Program {name} not registered with QCManyBody testing.")

Expand Down

0 comments on commit 4255419

Please sign in to comment.