mirror of https://github.com/phonopy/phono3py.git
Fix test
This commit is contained in:
parent
a178e369fb
commit
92932847d6
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install phonopy develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
git clone https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install phonopy develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
git clone https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install phonopy develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
git clone https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install symfc develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/symfc/symfc.git
|
||||
git clone https://github.com/symfc/symfc.git
|
||||
cd symfc
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install phonopy develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
git clone https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Install phonopy develop branch
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
git clone https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
|
|
|
@ -2252,7 +2252,7 @@ class Phono3py:
|
|||
verbose=self._log_level - 1 > 0,
|
||||
)
|
||||
|
||||
def load_mlp(self, filename: str = "pypolymlp.mlp"):
|
||||
def load_mlp(self, filename: str = "phono3py.pmlp"):
|
||||
"""Load machine learning potential of pypolymlp."""
|
||||
self._mlp = load_polymlp(filename=filename)
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ def test_phono3py_load_with_pypolymlp_si():
|
|||
file_path.unlink()
|
||||
|
||||
argparse_control = _get_phono3py_load_args(
|
||||
cwd / "phono3py.yaml",
|
||||
cwd_called / "phono3py.yaml",
|
||||
fc_calculator="symfc",
|
||||
use_pypolymlp=True,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue