Skip to content

Commit

Permalink
specify a dummy aims command directly, not via an ase configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gelzinyte committed Jun 11, 2024
1 parent 7dcd9fb commit 736a943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ jobs:
python3 -m pip install ase==3.23.0
echo -n "ASE VERSION "
python3 -c "import ase; print(ase.__file__, ase.__version__)"
# set up a mock configuration, so file-based calculator tests
# that don't call the executable still work
# (e.g. test_aims.py::test_setup_calc_params)
echo "[aims]\ncommand=_DUMMY_" > ${HOME}/ase_config.ini
export ASE_CONFIG_PATH=${HOME}/ase_config.ini
- name: Install intel-oneapi-mkl for phono3py
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/calculators/test_aims.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def parameters_nonperiodic():
}
return parameters


@aims_prerequisites
def test_setup_calc_params(parameters_nonperiodic):

parameters = parameters_nonperiodic
Expand All @@ -75,7 +75,7 @@ def test_setup_calc_params(parameters_nonperiodic):
parameters.update(parameters_periodic)

# needed so new ASE versions don't complain about a lack of configuration
parameters["calculator_exec"] = "_DUMMY_"
parameters["profile"] = AimsProfile("_DUMMY_")

# PBC is FFF
atoms = Atoms("H")
Expand Down

0 comments on commit 736a943

Please sign in to comment.