Skip to main content

oximachine_featurizer

Actions Status Documentation Status DOI Binder codecov

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 to replicate our work [1].

If you're just interested in using a pre-trained model, the 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

pip install git+https://github.com/kjappelbaum/oximachine_featurizer.git

Stable release

pip install oximachine_featurizer

How to use it

To run the default featurization on one structure you can use the CLI

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 ).

More details can be found in the documentation.

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

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

Metadata

Release files for oximachine-featurizer 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oximachine-featurizer 0.4.0
File Size Uploaded
oximachine_featurizer-0.4.0.tar.gz 49.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oximachine-featurizer 0.4.0
File Interpreter ABI Platform
oximachine_featurizer-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 102.3 kB

Release files / oximachine_featurizer-0.4.0.tar.gz

Download URL oximachine_featurizer-0.4.0.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
80271cd636e25c76d5adbef1282bfb4f3f4a936e8e13118ac08a8d032cb93ba1
BLAKE2b-256 checksum
How to use checksums
05376f024b53a8eb07c2279a430a045322ab1ebd0b49b9a31ce286dc1bf91f05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / oximachine_featurizer-0.4.0-py3-none-any.whl

Download URL oximachine_featurizer-0.4.0-py3-none-any.whl
Size 52.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4980f938b92ca98e475f271ff5190fee3db6343cea0270c8849bc4e9dd8c296
BLAKE2b-256 checksum
How to use checksums
5883a400628c56d67494a780db4ea6f6d5527cd5d278a05ad791711dd33f13a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page