-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from SMTG-UCL/develop
Develop
- Loading branch information
Showing
28 changed files
with
279 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Citing `ShakeNBreak` | ||
Thank you for using `ShakeNBreak`! | ||
|
||
If you have used it in your research, we kindly ask that you cite: | ||
- **Code:** Mosquera-Lois, I. & Kavanagh, S. R.; Walsh, A.; Scanlon, D. O. [ShakeNBreak: Navigating the defect configurational landscape](https://doi.org/10.21105/joss.04817). _Journal of Open Source Software_ 7 (80), 4817, **2022** | ||
- **Theory/Method:** Mosquera-Lois, I. & Kavanagh, S. R.; Walsh, A.; Scanlon, D. O. [Identifying the Ground State Structures of Defects in Solids](https://doi.org/10.1038/s41524-023-00973-1) _npj Comput Mater_ 9, 25 **2023** | ||
|
||
You may also find this 'Preview' paper useful, which discusses the general problem of defect structure prediction: | ||
- Mosquera-Lois, I.; Kavanagh, S. R. [In Search of Hidden Defects](https://doi.org/10.1016/j.matt.2021.06.003). _Matter_ 4 (8), 2602-2605, **2021** | ||
|
||
## BibTeX | ||
Available as a BibTeX file [here](docs/shakenbreak.bib), or copy the following: | ||
``` | ||
@article{SnB_code, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R. and Walsh, Aron and Scanlon, David O.}, | ||
title = {{ShakeNBreak}: {Navigating} the defect configurational landscape}, | ||
journal = {Journal of Open Source Software}, | ||
volume = {7}, | ||
number = {80}, | ||
pages = {4817}, | ||
year = {2022}, | ||
doi = {10.21105/joss.04817}, | ||
url = {https://joss.theoj.org/papers/10.21105/joss.04817}, | ||
eprint = {https://joss.theoj.org/papers/10.21105/joss.04817}, | ||
abstract = {Mosquera-Lois et al., (2022). ShakeNBreak: Navigating the defect configurational landscape. Journal of Open Source Software, 7(80), 4817, https://doi.org/10.21105/joss.04817}, | ||
} | ||
@article{SnB_theory, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R. and Walsh, Aron and Scanlon, David O.}, | ||
title = {Identifying the ground state structures of point defects in solids}, | ||
journal = {npj Computational Materials}, | ||
volume = {9}, | ||
number = {1}, | ||
pages = {1--11}, | ||
year = {2023} | ||
doi = {10.1038/s41524-023-00973-1}, | ||
url = {https://www.nature.com/articles/s41524-023-00973-1}, | ||
eprint = {https://www.nature.com/articles/s41524-023-00973-1}, | ||
abstract = {Point defects are a universal feature of crystals. Their identification is addressed by combining experimental measurements with theoretical models. The standard modelling approach is, however, prone to missing the ground state atomic configurations associated with energy-lowering reconstructions from the idealised crystallographic environment. Missed ground states compromise the accuracy of calculated properties. To address this issue, we report an approach to navigate the defect configurational landscape using targeted bond distortions and rattling. Application of our workflow to eight materials (CdTe, GaAs, Sb2S3, Sb2Se3, CeO2, In2O3, ZnO, anatase-TiO2) reveals symmetry breaking in each host crystal that is not found via conventional local minimisation techniques. The point defect distortions are classified by the associated physico-chemical factors. We demonstrate the impact of these defect distortions on derived properties, including formation energies, concentrations and charge transition levels. Our work presents a step forward for quantitative modelling of imperfect solids.}, | ||
} | ||
@article{SnB_preview, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R.}, | ||
title = {In search of hidden defects}, | ||
journal = {Matter}, | ||
volume = {4}, | ||
number = {8}, | ||
pages = {2602--2605}, | ||
year = {2021}, | ||
doi = {10.1016/j.matt.2021.06.003}, | ||
url = {https://www.cell.com/matter/abstract/S2590-2385(21)00273-3}, | ||
eprint = {https://www.cell.com/matter/abstract/S2590-2385(21)00273-3}, | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@article{SnB_code, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R. and Walsh, Aron and Scanlon, David O.}, | ||
title = {{ShakeNBreak}: {Navigating} the defect configurational landscape}, | ||
journal = {Journal of Open Source Software}, | ||
volume = {7}, | ||
number = {80}, | ||
pages = {4817}, | ||
year = {2022}, | ||
doi = {10.21105/joss.04817}, | ||
url = {https://joss.theoj.org/papers/10.21105/joss.04817}, | ||
eprint = {https://joss.theoj.org/papers/10.21105/joss.04817}, | ||
abstract = {Mosquera-Lois et al., (2022). ShakeNBreak: Navigating the defect configurational landscape. Journal of Open Source Software, 7(80), 4817, https://doi.org/10.21105/joss.04817}, | ||
} | ||
|
||
@article{SnB_theory, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R. and Walsh, Aron and Scanlon, David O.}, | ||
title = {Identifying the ground state structures of point defects in solids}, | ||
journal = {npj Computational Materials}, | ||
volume = {9}, | ||
number = {1}, | ||
pages = {1--11}, | ||
year = {2023} | ||
doi = {10.1038/s41524-023-00973-1}, | ||
url = {https://www.nature.com/articles/s41524-023-00973-1}, | ||
eprint = {https://www.nature.com/articles/s41524-023-00973-1}, | ||
abstract = {Point defects are a universal feature of crystals. Their identification is addressed by combining experimental measurements with theoretical models. The standard modelling approach is, however, prone to missing the ground state atomic configurations associated with energy-lowering reconstructions from the idealised crystallographic environment. Missed ground states compromise the accuracy of calculated properties. To address this issue, we report an approach to navigate the defect configurational landscape using targeted bond distortions and rattling. Application of our workflow to eight materials (CdTe, GaAs, Sb2S3, Sb2Se3, CeO2, In2O3, ZnO, anatase-TiO2) reveals symmetry breaking in each host crystal that is not found via conventional local minimisation techniques. The point defect distortions are classified by the associated physico-chemical factors. We demonstrate the impact of these defect distortions on derived properties, including formation energies, concentrations and charge transition levels. Our work presents a step forward for quantitative modelling of imperfect solids.}, | ||
} | ||
|
||
@article{SnB_preview, | ||
author = {Mosquera-Lois, Irea and Kavanagh, Seán R.}, | ||
title = {In search of hidden defects}, | ||
journal = {Matter}, | ||
volume = {4}, | ||
number = {8}, | ||
pages = {2602--2605}, | ||
year = {2021}, | ||
doi = {10.1016/j.matt.2021.06.003}, | ||
url = {https://www.cell.com/matter/abstract/S2590-2385(21)00273-3}, | ||
eprint = {https://www.cell.com/matter/abstract/S2590-2385(21)00273-3}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,22 +125,21 @@ def package_files(directory): | |
input_files = package_files("SnB_input_files/") | ||
fonts = package_files("fonts/") | ||
|
||
with open("README.md", "r", encoding="utf-8") as file: | ||
long_description = file.read() | ||
|
||
|
||
setup( | ||
name="shakenbreak", | ||
version="23.04.27", | ||
version="23.06.03", | ||
description="Package to generate and analyse distorted defect structures, in order to " | ||
"identify ground-state and metastable defect configurations.", | ||
long_description="Python package to automate the process of defect structure searching. <br>" | ||
"Employs chemically-guided bond distortions to locate ground-state and metastable structures" | ||
" of point defects in solid materials. <br>" | ||
"Read the [docs](https://shakenbreak.readthedocs.io/en/latest/index.html) for more info.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author="Irea Mosquera-Lois, Seán R. Kavanagh", | ||
author="Irea Mosquera-Lois & Seán R. Kavanagh", | ||
author_email="[email protected], [email protected]", | ||
maintainer="Irea Mosquera-Lois, Seán R. Kavanagh", | ||
maintainer="Irea Mosquera-Lois & Seán R. Kavanagh", | ||
maintainer_email="[email protected], [email protected]", | ||
readme="README.md", # PyPI readme | ||
url="https://shakenbreak.readthedocs.io/en/latest/index.html", | ||
license="MIT", | ||
license_files=("LICENSE",), | ||
|
@@ -150,12 +149,16 @@ def package_files(directory): | |
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Scientific/Engineering :: Chemistry", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
], | ||
keywords="chemistry pymatgen dft defects structure-searching distortions symmetry-breaking", | ||
packages=find_packages(), | ||
python_requires=">=3.8, <3.11", | ||
install_requires=[ | ||
"numpy<1.24,>=1.21.2", | ||
"pymatgen>=2022.10.22", | ||
|
@@ -172,7 +175,7 @@ def package_files(directory): | |
extras_require={ | ||
"tests": [ | ||
"pytest>=7.1.3", | ||
"pytest-mpl==0.15.1", # New version 0.16.0 has a bug | ||
"pytest-mpl==0.16.1", | ||
], | ||
"docs": [ | ||
"sphinx", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.