Pymatgen

Latest version: v2024.5.1

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 23 of 59

2019.4.11

Not secure
* Improvements to MimimumDistanceNN (jmmshn)
* Improvements to Lobster. (JaGeo)
* Implement a metal warning for ISMEAR < 1 and NSW > 0.
* Misc bug fixes to input sets, including detection of metal systems and
checking for standardization.

2019.3.27

Not secure
* Bug fixes for OrderDisorderComparator (utf), custom k-points
in MPNonSCFSet (dyllamt), battery app (jmmshn), MPSOCSet (mkhorton),
more
* Improvements to COHP (JaGeo)
* Support to read WAVEDER files (knc6)
* Addition of van Arkel-Ketelaar triangle plots (CifLord)
* Addition of optional user agent to MPRester API calls, see documentation
for more information (dwinston)

2019.3.13

Not secure
* Streamlined Site, PeriodicSite, Molecule and Structure code by abandoning
immutability for Site and PeriodicSite.
* VaspInput class now supports a run_vasp method, which can be used to code
runnable python scripts for running simple calculations (custodian still
recommended for more complex calculations.). For example, the following is a
kpoint convergence script that can be submitted in a queue

.. code-block:: pycon

from pymatgen import MPRester
from pymatgen.io.vasp.sets import MPRelaxSet


VASP_CMD = ["mpirun", "-machinefile", "$PBS_NODEFILE", "-np", "16", "vasp"]


def main():
mpr = MPRester()
structure = mpr.get_structures("Li2O")[0]
for k_dens in [100, 200, 400, 800]:
vis = MPRelaxSet(structure,
user_kpoints_settings={"reciprocal_density": k_dens})
vi = vis.get_vasp_input()
kpoints = vi["KPOINTS"].kpts[0][0]
d = f"Li2O_kpoints_{kpoints}"

Directly run vasp.
vi.run_vasp(d, vasp_cmd=VASP_CMD)
Use the final structure as the new initial structure to speed up calculations.
structure = Vasprun(f"{d}/vasprun.xml").final_structure


if __name__ == "__main__":
main()

* Many pymatgen from_file methods now support pathlib.Path as well as strings.
* Misc bug fixes.

2019.2.28

Not secure
* Type hints now available for core classes.
* New pymatgen.util.typing module for useful types.
* Misc bug fixes.

2019.2.24

Not secure
* New EntrySet class for easy manipulation of entries to grab subsets,
remove non-ground-states, etc. Makes it easier to grab a large set of entries and work with sub chemical systems. Also MSONable for caching.
* Performance improvements in core classes and Poscar (ExpHP).
* New/changed methods for IcohpCollection and Completecohp

2019.2.4

Not secure
* New Trajectory class for MD simulations (sivonxay)
* Lattice.get_vector_along_lattice_directions (blondgeek)
* Misc bug fixes.

Page 23 of 59

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.