Releases: WMD-group/SMACT
Bugfix in data_loader.py
- Fixed a bug in data_loader.py so now ICSD oxidation states are available from the Element class.
- Updated README in examples folder to include description about structure prediction examples
Structure prediction updates and pymatgen compatibility
What's Changed
- Updated oxidation states module and structure prediction module to be compatible with pymatgen v2022.0 and higher
- Binary and ternary ionic substitution functions added to structure prediction module
- Extended radii dataset added
- Updated requirements
- Example notebooks for structure prediction module included
Full Changelog: v2.0.2...v2.3
Structure prediction module and license change
We have moved to the widely used and unrestrictive MIT license.
This release also includes the new structure prediction module. This is a minimalist and lightweight framework for predicting new compounds based on species similarity. The implementation is inspired by this work and we are looking to include other species similarity metrics in the future.
Improvements to code following JOSS review process
This release follows peer review of the package in the Journal of Open Source Software (see the full open review process here).
Most important changes include:
Bug fix in oxidation states module
A bug in the oxidation states module has been fixed for this release. The pair_probability
and compound_probability
functions now work as expected.
SMACT V2
For this release we have cut out some redundant functions, improved the docs and examples, streamlined the installation process and improved test coverage.
Installing with pip will now install all requirements, including ASE and Pymatgen. These packages are only required for some modules so alternative installation instructions are provided.
Key additions to the code in this release:
- The oxidation_states module, which can be used to assess the likelihood of metals adopting certain oxidation states in the presence of given anions (See related paper).
smact_test
, which applies the standard tests of charge neutrality and electronegativity order in one handy function.- A function
ml_rep_generator
, to generate a vector representing a composition, useful for machine learning.
Python 3 Compatibility
This version is compatible with both Python 2 (2.7 and later) and Python 3.
DOI Generation
Integration with Zenodo
First version of SMACT
- Screening for element combinations with desired electronic or structure properties using a range of element data has been implemented.
- Example scripts demonstrate counting element combinations as well as more specific screening procedures.