Skip to content

Releases: materialsproject/pymatgen

v2023.11.12

13 Nov 03:06
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Hot fix: pymatgen package missing potcar-summary-stats.json.bz2 by @janosh in #3468

🛠 Enhancements

  • Add Composition.charge and charge_balanced properties by @janosh in #3471

v2023.11.10

10 Nov 21:27
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix LobsterMatrices calculated incorrectly by @naik-aakash in #3407
  • Fix test_relax_chgnet by @janosh in #3417
  • Breaking: return sum of Species with matching Element in Composition.__getitem__ by @janosh in #3427
  • Update inputs.py by @RedStar-Iron in #3430
  • Fix lattice velocities formatting by @gpetretto in #3433
  • Fix lobsterin dict inheritance and treat \t in lobsterins correctly by @JaGeo in #3439
  • Fix BSPlotterProjected.get_elt_projected_plots by @janosh in #3451
  • Fix Atoms.cluster_from_file() in io.feff.inputs giving wrong number of atoms by @kaifengZheng in #3426
  • Write test-created files to temporary directory, don't pollute test dir by @janosh in #3454
  • Issue stronger warning if bader is run without the AECCARs by @janosh in #3458
  • Fix Vasprun not interpreting float overflow as nan by @tawe141 in #3452
  • Aims bug fixes by @tpurcell90 in #3466

🛠 Enhancements

🧹 House-Keeping

  • Rename Poscar.from_file() check_for_POTCAR to check_for_potcar by @janosh in #3406
  • Remove warning in cohp module by @JaGeo in #3418
  • Drop black for ruff format by @janosh in #3420
  • Refresh OPTIMADE aliases and update docstrings by @ml-evs in #3447
  • Use convenience exports from pymatgen/core/__init__.py where no risk of circular imports by @janosh in #3461
  • Move needlessly function-scoped imports to module scope by @janosh in #3462
  • Module-scoped imports by @janosh in #3464

🤷‍♂️ Other Changes

New Contributors

v2023.10.11

12 Oct 00:32
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix outdated setup.py find_namespace_packages and add test_egg_sources_txt_is_complete by @janosh in #3374
  • release.yml add option to publish to TestPyPI by @janosh in #3375
  • Fix wrong unit=eV in get_band_(skewness|kurtosis) doc string by @janosh in #3383
  • Further updating POTCAR validation / identification by @esoteric-ephemera in #3392
  • MatPESStaticSet.yaml set LMAXMIX: 6 by @janosh in #3400
  • Fix type annotations in phonon/ and lammps/ by @ab5424 in #3401
  • Fix OBAlign(includeH=False, symmetry=False) can't take keywords by @janosh in #3403

🛠 Enhancements

  • New class to handle NcICOBILIST.lobster files by @QuantumChemist in #2878
  • Add inplace: bool=True arg to Structure.apply_strain() by @janosh in #3376
  • Add Structure.to_(conventional|primitive|cell) methods by @janosh in #3384
  • Add SiteCollection.to_ase_atoms() by @janosh in #3389
  • Add mode: Literal["w", "a", "wt", "at"] = "w" keyword to CifWriter.write_file() by @janosh in #3399

📖 Documentation

  • Add docs/fetch_pmg_contributors.py script by @janosh in #3387

🧹 House-Keeping

🧪 Tests

  • Update incar_parameters.json to allow ISIF=8 by @matthewkuner in #3381
  • Add test_potcar_summary_stats() by @janosh in #3395
  • Mirror atomate2 fix and improve MPScanRelaxSet.test_kspacing edge case coverage by @janosh in #3396

💥 Breaking Changes

  • Breaking: snake_case FiestaInput keywords and class attributes by @janosh in #3386
  • Ion: default hydrates=False in reduced_formula by @rkingsbury in #3350

🏷️ Type Hints

Full Changelog: v2023.10.4...v2023.10.11

v2023.10.4

04 Oct 13:06
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix missing potcar_summary_stats.json.gz in setup.package_data by @janosh in #3372

Full Changelog: v2023.10.3...v2023.10.4

v2023.10.3

03 Oct 23:16
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Revert openbabel.OBAlign() in molecule_matcher.py to use positional args for includeH, symmetry by @janosh in #3353
  • Fix MPMD set bug by @MichaelWolloch in #3355
  • Fix TestMPResterNewBasic + AseAtomsAdaptor test errors and TransformedStructure.from_snl overwriting hist variable by @janosh in #3362
  • Fix TypeError: can only join an iterable with AECCAR in VolumetricData.write_file by @chiang-yuan in #3343

🛠 Enhancements

🧹 House-Keeping

🏥 Package Health

New Contributors

Full Changelog: v2023.9.25...v2023.10.3

v2023.9.25

25 Sep 17:14
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix MPSOCSet raising ValueError on structure=None by @janosh in #3310
  • Fix AttributeError in BSPlotter.get_plot() by @janosh in #3327
  • Use ax = fig.add_subplot(projection='3d') to create Axes3D by @janosh in #3330
  • Fix breaking change to CoherentInterfaceBuilder.get_interfaces by @janosh in #3337
  • Add properties @property/docstring to IStructure by @mkhorton in #3338
  • Always return 0 for Composition.oxi_state_guesses() of diatomic molecules by @janosh in #3332
  • Fix: TestMITMPRelaxSet.test_nelect claimed to but wasn't testing disordered structure by @janosh in #3344

🛠 Enhancements

  • Allow usage of calculate_ng with a custom ENCUT and PREC values for VASP input sets by @matthewkuner in #3314
  • Fix TestPotcar.test_write polluting git repo on failure by @janosh in #3347

📖 Documentation

🧹 House-Keeping

  • Fix internal SymmOp.from_xyz_string and MagSymmOp.from_xyzt_string deprecation warnings by @janosh in #3315
  • Fix ruff A001 violations: Variable is shadowing a Python builtin by @janosh in #3331
  • Delete unused or numpy-provided routines from pymatgen.util.num by @janosh in #3333
  • fix ruff FBT003: Boolean positional value in function call by @janosh in #3335
  • Snake case test method names by @janosh in #3339

🤷‍♂️ Other Changes

Full Changelog: v2023.9.10...v2023.9.25

v2023.9.10

10 Sep 09:16
daa83ce
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

🛠 Enhancements

🏥 Package Health

🤷‍♂️ Other Changes

Full Changelog: v2023.9.2...v2023.9.10

v2023.9.2

02 Sep 15:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2023.8.10...v2023.9.2

v2023.8.10

10 Aug 22:09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2023.7.20...v2023.8.10

v2023.7.20

20 Jul 17:15
2a9517a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2023.7.17...v2023.7.20