This commit is contained in:
Atsushi Togo 2024-09-05 13:08:31 +09:00
parent a178e369fb
commit 92932847d6
8 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ jobs:
- name: Install phonopy develop branch - name: Install phonopy develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/phonopy/phonopy.git git clone https://github.com/phonopy/phonopy.git
cd phonopy cd phonopy
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -35,7 +35,7 @@ jobs:
- name: Install phonopy develop branch - name: Install phonopy develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/phonopy/phonopy.git git clone https://github.com/phonopy/phonopy.git
cd phonopy cd phonopy
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -35,7 +35,7 @@ jobs:
- name: Install phonopy develop branch - name: Install phonopy develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/phonopy/phonopy.git git clone https://github.com/phonopy/phonopy.git
cd phonopy cd phonopy
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -35,7 +35,7 @@ jobs:
- name: Install symfc develop branch - name: Install symfc develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/symfc/symfc.git git clone https://github.com/symfc/symfc.git
cd symfc cd symfc
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -35,7 +35,7 @@ jobs:
- name: Install phonopy develop branch - name: Install phonopy develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/phonopy/phonopy.git git clone https://github.com/phonopy/phonopy.git
cd phonopy cd phonopy
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -28,7 +28,7 @@ jobs:
- name: Install phonopy develop branch - name: Install phonopy develop branch
run: | run: |
conda activate test conda activate test
git clone --depth 1 https://github.com/phonopy/phonopy.git git clone https://github.com/phonopy/phonopy.git
cd phonopy cd phonopy
pip install -e . -vvv pip install -e . -vvv
cd .. cd ..

View File

@ -2252,7 +2252,7 @@ class Phono3py:
verbose=self._log_level - 1 > 0, 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.""" """Load machine learning potential of pypolymlp."""
self._mlp = load_polymlp(filename=filename) self._mlp = load_polymlp(filename=filename)

View File

@ -142,7 +142,7 @@ def test_phono3py_load_with_pypolymlp_si():
file_path.unlink() file_path.unlink()
argparse_control = _get_phono3py_load_args( argparse_control = _get_phono3py_load_args(
cwd / "phono3py.yaml", cwd_called / "phono3py.yaml",
fc_calculator="symfc", fc_calculator="symfc",
use_pypolymlp=True, use_pypolymlp=True,
) )