Skip to content

Releases: materialsproject/pymatgen

v2024.11.13

13 Nov 19:09
aab23ff
Compare
Choose a tag to compare
  • CP2K fixes (@janosh)
  • Fix borg.hive.SimpleVaspToComputedEntryDrone.assimilate ValueError when core file missing (@DanielYang59)
  • Revert breaking analysis.local_env default_op_params/cn_opt_params rename (@DanielYang59)
  • Added new Flag for AutoOxiStateDecorationTransformation (@jmmshn)
  • Fixed execution of packmol in relative path. (@davidwaroquiers)
  • Improve element mismatch handling with POTCAR for Poscar.from_file/str (@DanielYang59)
  • Preprocess Structure Reduction Before Bulk Match (@lan496)
  • Add min "thickness" check in CifParser to filter invalid structure which leads to infinite loop (@DanielYang59)

v2024.10.29

29 Oct 17:13
Compare
Choose a tag to compare
  • VaspDir has been renamed and moved to pymatgen.io.common.PMGDir for more general support of all IO classes. Note that
    this is a backwards incompatible change. It should not affect many users since VaspDir was introduced only in the last
    one week.
  • Fixed execution of packmol in relative path. (@davidwaroquiers)
  • VaspDoc.get_incar_tags: Use Mediawiki API (@yantar92)
  • Fix comment pass in Kpoints constructors (@DanielYang59)

v2024.10.27

27 Oct 02:52
Compare
Choose a tag to compare
  • Bug fix for parsing of dielectric calculations from vasprun.xml.

v2024.10.25

25 Oct 21:24
8991e77
Compare
Choose a tag to compare
  • VaspDir now supports nest directories. Also, supports non-object string returns.
  • Bug fix for parsing of BSE vaspruns.xml.

v2024.10.22

22 Oct 03:10
aa37e99
Compare
Choose a tag to compare
  • New pyamtgen.io.vasp.VaspDir class for easy navigation of VASP directories as pymatgen objects.
  • Fix gaussian input parser (@sio-salt)
  • Fix: preserve site properties over cell transform (@Lattay)
  • Make Incar keys case insensitive, fix init Incar from dict val processing for str/float/int (@DanielYang59)
  • Fix: Preserve PBC info in AseAtomsAdaptor (@jsukpark)
  • Migrate ext.COD from mysql to REST API (@DanielYang59)
  • Fix: Parsing bugs in io.pwscf.PWInput (@jsukpark)
  • Fix arg passing in inverse property of SymmOp (@DanielYang59)
  • Add support for use_structure_charge keyword in FHI-aims input generator (@ansobolev)
  • Fix: savefig in pmg.cli.plot (@DanielYang59)
  • Fix: Volumetric data and XDATCAR parsing for monatomic structures (@esoteric-ephemera)
  • Support to aims format from Structure instance (@ansobolev)
  • Fix: Bugfix for Ion CO2(aq) reduced formula (@rkingsbury)
  • Replace deprecated ExpCellFilter with FrechetCellFilter (@ab5424)

v2024.10.3

03 Oct 17:13
Compare
Choose a tag to compare
  • Enable parsing of "SCF energy" and "Total energy" from QCOutput for Q-chem 6.1.1+. (@Jaebeom-P)
  • Fix dict equality check with numpy array (@DanielYang59)
  • Fix usage of strict=True for zip in cp2k.outputs (@DanielYang59)
  • Fix bug with species defaults (@tpurcell90)
  • SLME Bug Fixes (@kavanase)

v2024.9.17.1

18 Sep 01:11
Compare
Choose a tag to compare
  • Emergency release No. 2 to fix yet another regression in chempot diagram. (Thanks @yang-ruoxi for fixing.)

v2024.9.17

17 Sep 03:19
150f816
Compare
Choose a tag to compare
  • Emergency release to fix broken phase diagram plotting due to completely unnecessary refactoring. (Thanks @yang-ruoxi for fixing.)

v2024.9.10

10 Sep 17:52
1ff1ba5
Compare
Choose a tag to compare

💥 Breaking: NumPy/Cython integer type changed from np.long/np.int_ to int64 on Windows to align with NumPy 2.x, changing the default integer type to int64 on Windows 64-bit systems in favor of the platform-dependent np.int_ type.
Recommendation: Please explicitly declare dtype=np.int64 when initializing a NumPy array if it's passed to a Cythonized pymatgen function like find_points_in_spheres. You may also want to test downstream packages with NumPy 1.x on Windows in CI pipelines.

🛠 Enhancements

  • Formatting customization for PWInput by @jsukpark in #4001
  • DOS Fingerprints enhancements by @naik-aakash in #3946
  • Add HSE-specific vdW parameters for dftd3 and dftd3-bj to MPHSERelaxSet. by @hongyi-zhao in #3955
  • Add VASP setting for the dftd4 vdW functional and extend PBE_64 support. by @hongyi-zhao in #3967
  • Add SOC & multiple PROCAR parsing functionalities by @kavanase in #3890
  • Add modification to aims input to match atomate2 magnetic order script by @tpurcell90 in #3878

🐛 Bug Fixes

  • Ion: fix CO2- and I3- parsing errors; enhance tests by @rkingsbury in #3991
  • Fix ruff PD901 and prefer sum over len+if by @janosh in #4012
  • Explicitly use int64 in Numpy/cython code to avoid OS inconsistency by @DanielYang59 in #3992
  • Update FermiDos.get_doping() to be more robust by @kavanase in #3879
  • Fix missing /src in doc links to source code by @DanielYang59 in #4032
  • Fix LNONCOLLINEAR match in Outcar parser by @DanielYang59 in #4034
  • Fix in-place VaspInput.incar updates having no effect if incar is dict (not Incar instance) by @janosh in #4052
  • Fix typo in Cp2kOutput.parse_hirshfeld add_site_property("hirshf[i->'']eld") by @janosh in #4055
  • Fix apply_operation(fractional=True) by @kavanase in #4057

💥 Breaking Changes

📖 Documentation

  • Docstring tweaks for io.vasp.inputs and format tweaks for some other parts by @DanielYang59 in #3996
  • Replace HTTP URLs with HTTPS, avoid from pytest import raises/mark by @DanielYang59 in #4021
  • Fix incorrect attribute name in Lobster.outputs.Cohpcar docstring by @DanielYang59 in #4039

🧹 House-Keeping

🚀 Performance

  • add LRU cache to structure matcher by @kbuma in #4036

🚧 CI

💡 Refactoring

🧪 Tests

🧹 Linting

🏥 Package Health

🏷️ Type Hints

  • Set kpoints in from_str method as integer in auto Gamma and Monkhorst modes by @DanielYang59 in #3994
  • Improve type annotations for io.lobster.{lobsterenv/outputs} by @DanielYang59 in #3887

🤷‍♂️ Other Changes

  • VaspInputSet.write_input: Improve error message by @yantar92 in #3999

New Contributors

Full Changelog: v2024.8.9...v2024.9.10

v2024.8.9

09 Aug 17:03
1ac6c68
Compare
Choose a tag to compare
  • Revert bad split of sets.py, which broke downstream code.

🎉 New Features

🐛 Bug Fixes

🛠 Enhancements

  • Element/Species: order full_electron_structure by energy by @rkingsbury in #3944
  • Extend CubicSupercell transformation to also be able to look for orthorhombic cells by @JaGeo in #3938
  • Allow custom .pmgrc.yaml location via new PMG_CONFIG_FILE env var by @janosh in #3949
  • Fix MPRester tests and access phonon properties from the new API without having mp-api installed. by @AntObi in #3950
  • Adding Abinit magmoms from netCDF files to Structure.site_properties by @gbrunin in #3936
  • Parallel Joblib Process Entries by @CompRhys in #3933
  • Add OPTIMADE adapter by @ml-evs in #3876
  • Check Inputs to Trajectory. by @CompRhys in #3978

📖 Documentation

🧹 House-Keeping

🚧 CI

💡 Refactoring

🏥 Package Health

🏷️ Type Hints

🤷‍♂️ Other Changes

New Contributors

Full Changelog: v2024.7.18...v2024.8.8