Set version v2.24.1

This commit is contained in:
Atsushi Togo 2024-06-07 18:40:41 +09:00
parent 20381a5817
commit 411b43c4aa
4 changed files with 7 additions and 3 deletions

View File

@ -2,6 +2,10 @@
# Change Log
## Jun-7-2024: Version 2.24.1
- Fix bug in phonopy-yaml dumper for type2 dataset.
## Jun-7-2024: Version 2.24.0
- Change of phonopy-yaml format for type2 dataset.

View File

@ -55,7 +55,7 @@ copyright = "2009, Atsushi Togo"
# The short X.Y version.
version = "2.24"
# The full version, including alpha/beta/rc tags.
release = "2.24.0"
release = "2.24.1"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -663,7 +663,7 @@ class PhonopyYamlDumperBase(ABC):
if key == "forces" and not with_forces:
continue
lines.append(f" {key}:")
for i, dset in enumerate(dataset["displacements"]):
for i, dset in enumerate(dataset[key]):
lines.append(f" - # {i + 1}")
for j, d in enumerate(dset):
lines.append(" - [ %21.16f, %21.16f, %21.16f ]" % tuple(d))

View File

@ -34,4 +34,4 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
__version__ = "2.24.0"
__version__ = "2.24.1"