Skip to content

Commit 52315a7

Browse files
dependabot[bot]github-actions[bot]jan-janssen
authored
Bump phonopy from 2.43.2 to 2.43.6 (#573)
* Bump phonopy from 2.43.2 to 2.43.6 Bumps [phonopy](https://github.com/phonopy/phonopy) from 2.43.2 to 2.43.6. - [Changelog](https://github.com/phonopy/phonopy/blob/develop/doc/changelog.md) - [Commits](phonopy/phonopy@v2.43.2...v2.43.6) --- updated-dependencies: - dependency-name: phonopy dependency-version: 2.43.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * [dependabot skip] Update environment * phonopy fix * fix chemical symbols * Update environment-docs.yml * Update environment.yml * Update environment.yml * Update pyproject.toml * more fixes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jan Janßen <janssen@mpie.de> Co-authored-by: Jan Janssen <jan-janssen@users.noreply.github.com>
1 parent 5684ac5 commit 52315a7

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

.ci_support/environment-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies:
1111
- numpy =2.3.4
1212
- scipy =1.16.3
1313
- spglib =2.6.0
14-
- phonopy =2.43.2
15-
- structuretoolkit =0.0.36
14+
- phonopy =2.43.6
15+
- structuretoolkit =0.0.37
1616
- seekpath =2.1.0
1717
- lammps =2024.08.29
1818
- pandas =2.3.3

.ci_support/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ dependencies:
77
- mendeleev =1.1.0
88
- numpy =2.3.4
99
- pandas =2.3.3
10-
- phonopy =2.43.2
10+
- phonopy =2.43.6
1111
- requests =2.32.5
1212
- scipy =1.16.3
1313
- seekpath =2.1.0
1414
- spglib =2.6.0
15-
- structuretoolkit =0.0.36
15+
- structuretoolkit =0.0.37
1616
- sphinx_parser =0.1.3
1717
- tqdm =4.67.1
1818
- pyiron_vasp =0.2.15

atomistics/calculators/lammps/phonon.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ def calc_molecular_dynamics_phonons_with_lammpslib(
113113
if supercell is None:
114114
supercell = [2, 2, 2]
115115
dp_structure = Structure(
116-
cell=phonopy_unitcell.get_cell(),
117-
scaled_positions=phonopy_unitcell.get_scaled_positions(),
118-
atomic_elements=phonopy_unitcell.get_chemical_symbols(),
116+
cell=phonopy_unitcell.cell,
117+
scaled_positions=phonopy_unitcell.scaled_positions,
118+
atomic_elements=phonopy_unitcell.symbols,
119119
primitive_matrix=phonopy_primitive_matrix,
120120
force_constants=ForceConstants(
121121
force_constants,

atomistics/workflows/phonons/helper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def volumes(self) -> np.ndarray:
220220
np.ndarray: The volumes.
221221
"""
222222
return np.array(
223-
[self._phonopy.unitcell.get_volume()]
223+
[self._phonopy.unitcell.volume]
224224
* len(self._thermal_properties["temperatures"])
225225
)
226226

@@ -287,7 +287,7 @@ def get_tasks_for_harmonic_approximation(
287287
unitcell=unitcell,
288288
supercell_matrix=get_supercell_matrix(
289289
interaction_range=interaction_range,
290-
cell=unitcell.get_cell(),
290+
cell=unitcell.cell,
291291
),
292292
primitive_matrix=primitive_matrix,
293293
factor=factor,
@@ -301,7 +301,7 @@ def get_tasks_for_harmonic_approximation(
301301
structure_with_magmoms=structure,
302302
structure=structuretoolkit.common.phonopy_to_atoms(sc),
303303
interaction_range=interaction_range,
304-
cell=unitcell.get_cell(),
304+
cell=unitcell.cell,
305305
)
306306
for ind, sc in enumerate(phonopy_obj.supercells_with_displacements)
307307
}

binder/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ dependencies:
55
- numpy =2.3.4
66
- scipy =1.16.3
77
- spglib =2.6.0
8-
- phonopy =2.43.2
9-
- structuretoolkit =0.0.36
8+
- phonopy =2.43.6
9+
- structuretoolkit =0.0.37
1010
- seekpath =2.1.0
1111
- gpaw =25.7.0
1212
- lammps =2024.08.29

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Repository = "https://github.com/pyiron/atomistics"
3939

4040
[project.optional-dependencies]
4141
phonopy = [
42-
"phonopy==2.43.2",
42+
"phonopy==2.43.6",
4343
"seekpath==2.1.0",
44-
"structuretoolkit==0.0.36",
44+
"structuretoolkit==0.0.37",
4545
]
4646
gpaw = [
4747
"gpaw==25.7.0",

0 commit comments

Comments
 (0)