Name | oximachine-featurizer JSON |
Version |
0.4.0
JSON |
| download |
home_page | |
Summary | Mine MOF oxidation states and featurize metal sites. |
upload_time | 2023-08-27 22:31:34 |
maintainer | |
docs_url | None |
author | Kevin M. Jablonka |
requires_python | >=3.8 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# oximachine_featurizer
[![Actions Status](https://github.com/kjappelbaum/mof_oxidation_states/workflows/Python%20package/badge.svg)](https://github.com/kjappelbaum/mof_oxidation_states/actions)
[![Documentation Status](https://readthedocs.org/projects/oximachine-featurizer/badge/?version=latest)](https://oximachine-featurizer.readthedocs.io/en/latest/?badge=latest)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3567274.svg)](https://doi.org/10.5281/zenodo.3567274)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/kjappelbaum/oximachine_featurizer/main?filepath=examples%2Fexample.ipynb)
[![codecov](https://codecov.io/gh/kjappelbaum/oximachine_featurizer/branch/main/graph/badge.svg)](https://codecov.io/gh/kjappelbaum/oximachine_featurizer)
Mine oxidation states for structures from the (MOF) subset of the CSD and calculate features for them. Runscripts are automatically installed for the most important steps. Some of these runscripts contain hard coded paths, that would need to be updated.
This code generates inputs that can be used with the [learnmofox package](https://github.com/kjappelbaum/learn_mof_ox_state.git) to replicate our work [1].
If you're just interested in using a pre-trained model, the [oximachinerunner](https://github.com/kjappelbaum/oximachinerunner) package.
> ⚠️ **Warning**: For the mining of the oxidation states, you need the CSD Python API.
> You need to export the `CSD_HOME` path. Due to the licensing issues, this cannot be done automatically.
## Installation
The commands below automatically install several command-line tools (CLI) which are detailed below.
The full process should take some seconds.
### Latest version
To install the latest version of the software with all dependencies, you can use
```bash
pip install git+https://github.com/kjappelbaum/oximachine_featurizer.git
```
### Stable release
```bash
pip install oximachine_featurizer
```
## How to use it
To run the default featurization on one structure you can use the CLI
```bash
run_featurization <structure> <outdir>
```
for each metal center this should take seconds if there is no disorder.
Some output can be found on the [MaterialsCloud Archive (doi: 10.24435/materialscloud:2019.0085/v1 )](https://doi.org/10.24435/materialscloud:2019.0085/v1).
More details can be found in the [documentation](https://oximachine-featurizer.readthedocs.io/en/latest/).
## Example usage
The use of the main functions of this package is shown in the Jupyter Notebook in the example directory.
It contains some example structures and the output, which should be produces in seconds.
## Testing the installation
For testing, you can---as it is done for the continuous integration (CI)---use `pytest` and run the files in the `test` directory. For example
```(bash)
pip install pytest
pytest test/main
```
## References
[1] Jablonka, Kevin Maik; Ongari, Daniele; Moosavi, Seyed Mohamad; Smit, Berend (2020): Using Collective Knowledge to Assign Oxidation States. ChemRxiv. Preprint. https://doi.org/10.26434/chemrxiv.11604129.v1
Raw data
{
"_id": null,
"home_page": "",
"name": "oximachine-featurizer",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Kevin M. Jablonka",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/05/37/6f024b53a8eb07c2279a430a045322ab1ebd0b49b9a31ce286dc1bf91f05/oximachine_featurizer-0.4.0.tar.gz",
"platform": null,
"description": "# oximachine_featurizer\n\n[![Actions Status](https://github.com/kjappelbaum/mof_oxidation_states/workflows/Python%20package/badge.svg)](https://github.com/kjappelbaum/mof_oxidation_states/actions)\n[![Documentation Status](https://readthedocs.org/projects/oximachine-featurizer/badge/?version=latest)](https://oximachine-featurizer.readthedocs.io/en/latest/?badge=latest)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3567274.svg)](https://doi.org/10.5281/zenodo.3567274)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/kjappelbaum/oximachine_featurizer/main?filepath=examples%2Fexample.ipynb)\n[![codecov](https://codecov.io/gh/kjappelbaum/oximachine_featurizer/branch/main/graph/badge.svg)](https://codecov.io/gh/kjappelbaum/oximachine_featurizer)\n\nMine oxidation states for structures from the (MOF) subset of the CSD and calculate features for them. Runscripts are automatically installed for the most important steps. Some of these runscripts contain hard coded paths, that would need to be updated.\nThis code generates inputs that can be used with the [learnmofox package](https://github.com/kjappelbaum/learn_mof_ox_state.git) to replicate our work [1].\n\nIf you're just interested in using a pre-trained model, the [oximachinerunner](https://github.com/kjappelbaum/oximachinerunner) package.\n\n> \u26a0\ufe0f **Warning**: For the mining of the oxidation states, you need the CSD Python API.\n> You need to export the `CSD_HOME` path. Due to the licensing issues, this cannot be done automatically.\n\n## Installation\n\nThe commands below automatically install several command-line tools (CLI) which are detailed below.\n\nThe full process should take some seconds.\n\n### Latest version\n\nTo install the latest version of the software with all dependencies, you can use\n\n```bash\npip install git+https://github.com/kjappelbaum/oximachine_featurizer.git\n```\n\n### Stable release\n\n```bash\npip install oximachine_featurizer\n```\n\n## How to use it\n\nTo run the default featurization on one structure you can use the CLI\n\n```bash\nrun_featurization <structure> <outdir>\n```\n\nfor each metal center this should take seconds if there is no disorder.\n\nSome output can be found on the [MaterialsCloud Archive (doi: 10.24435/materialscloud:2019.0085/v1 )](https://doi.org/10.24435/materialscloud:2019.0085/v1).\n\nMore details can be found in the [documentation](https://oximachine-featurizer.readthedocs.io/en/latest/).\n\n## Example usage\n\nThe use of the main functions of this package is shown in the Jupyter Notebook in the example directory.\nIt contains some example structures and the output, which should be produces in seconds.\n\n## Testing the installation\n\nFor testing, you can---as it is done for the continuous integration (CI)---use `pytest` and run the files in the `test` directory. For example\n\n```(bash)\npip install pytest\npytest test/main\n```\n\n\n## References\n\n[1] Jablonka, Kevin Maik; Ongari, Daniele; Moosavi, Seyed Mohamad; Smit, Berend (2020): Using Collective Knowledge to Assign Oxidation States. ChemRxiv. Preprint. https://doi.org/10.26434/chemrxiv.11604129.v1\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Mine MOF oxidation states and featurize metal sites.",
"version": "0.4.0",
"project_urls": {
"Homepage": "https://github.com/kjappelbaum/oximachine_featurizer"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5883a400628c56d67494a780db4ea6f6d5527cd5d278a05ad791711dd33f13a4",
"md5": "fef86ec5cd1bd82f417c54fac1a40877",
"sha256": "d4980f938b92ca98e475f271ff5190fee3db6343cea0270c8849bc4e9dd8c296"
},
"downloads": -1,
"filename": "oximachine_featurizer-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fef86ec5cd1bd82f417c54fac1a40877",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 52486,
"upload_time": "2023-08-27T22:31:27",
"upload_time_iso_8601": "2023-08-27T22:31:27.010104Z",
"url": "https://files.pythonhosted.org/packages/58/83/a400628c56d67494a780db4ea6f6d5527cd5d278a05ad791711dd33f13a4/oximachine_featurizer-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "05376f024b53a8eb07c2279a430a045322ab1ebd0b49b9a31ce286dc1bf91f05",
"md5": "9c8d320b4bb789d910e12db7ffde070c",
"sha256": "80271cd636e25c76d5adbef1282bfb4f3f4a936e8e13118ac08a8d032cb93ba1"
},
"downloads": -1,
"filename": "oximachine_featurizer-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "9c8d320b4bb789d910e12db7ffde070c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 49775,
"upload_time": "2023-08-27T22:31:34",
"upload_time_iso_8601": "2023-08-27T22:31:34.013278Z",
"url": "https://files.pythonhosted.org/packages/05/37/6f024b53a8eb07c2279a430a045322ab1ebd0b49b9a31ce286dc1bf91f05/oximachine_featurizer-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-27 22:31:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kjappelbaum",
"github_project": "oximachine_featurizer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "oximachine-featurizer"
}