pymatgen
pymatgen copied to clipboard
Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Pro...
### Python version 3.11.8 ### Pymatgen version 2024.2.8 ### Operating system version _No response_ ### Current behavior Hi all, I was trying to deal with a crystal structure (in .cif...
### Feature Requested Implement sanity checks for inputs to the MPRester functions in pymatgen ### Proposed Solution MP is getting non-sensical requests such as `/materials/summary/?_fields=material_id&formula=Emission+Factor&_limit=1000` from user agent `pymatgen/2023.7.17 (Python/3.8.12...
## Bug in `core.composition` comparison Open this in case it got forgotten. As found out by @janosh in https://github.com/materialsproject/pymatgen/pull/3792#discussion_r1584003750, there is an obvious bug with `Composition` comparison where `True` is...
## Issue This PR relates to the `MaterialsProject2020Compatibility` scheme, and cases in which structures might be heavily over-stabilized in error, leading to unrealistic structures potentially being placed on the convex...
## Summary - Install some optional dependencies in CI, to fix #3684. - Fix patch for `bader_caller` (setting `PATH` to empty is easier than changing the `patch` location, and serves...
## `datetime.datetime.utcnow()` deprecated See discussion in https://github.com/materialsproject/pymatgen/pull/3705#discussion_r1537225117, `datetime.datetime.utcnow()` is marked as deprecated and might be [removed after Python 3.12](https://discuss.python.org/t/deprecating-utcnow-and-utcfromtimestamp/26221/15). The same issue has been reported to `monty` as well: https://github.com/materialsvirtuallab/monty/issues/275....
## Summary - Improve path logic - Allow Chargemol to run in different directory (previously the code has implemented but is not working) - Fix `os.path.isfile` bug. Change it into...
### Summary - `from monty.json import xxx` significantly slowly down core modules, as `torch` is eagerly imported - [ ] Might need to look into other commonly used modules For...
### Python version Python 3.11.4 ### Pymatgen version pymatgen 2024.3.1 ### Operating system version Windows 10 ### Current behavior When I use the interpolation method implemented in pymatgen.io.common.VolumetricData, it is...
New version of #3646. This PR adds a separate test suite run for the case that only mandatory dependencies have been installed (directly via `pip install -e .[dev]`), attempting to...