No project description provided
Project description
mofchecker
What does it do?
Perform quick sanity checks on your MOF:
- Find open metal sites (OMS) in metal-organic frameworks (MOFs).
- Find atomic overlaps.
- Find overvalent (CN>4) carbons, nitrogens, or hydrogen.
- Check if there is metal, carbon or hydrogen.
- Check if there is floating atoms or molecules.
- Check if there is missing hydrogen on common coordination geometries of C and N.
The idea is to have nothing to fancy but a fast tool that we can run to eliminate the really unreasonable structures. The code is basically a rewrite of the checking tools that we implemented in structure_comp.
Installation
Development version:
pip install git+https://github.com/kjappelbaum/mofchecker.git
Latest stable release
pip install mofchecker
Usage
In Python
from mofchecker import MOFChecker
mofchecker = MOFChecker.from_cif(<path_to_cif>)
# Test for OMS
mofchecker.has_oms
# Test for clashing atoms
mofchecker.has_overlapping_atoms
# Run basic checks on a list of cif paths (sample_structures)
results = []
for structure in sample_structures:
mofchecker = MOFChecker.from_cif(structure)
results.append(mofchecker.get_mof_descriptors())
CLI
For example, you can use
mofchecker <cif> --has-oms
You can get an overview over all options with
mofchecker --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mofchecker-0.2.1.tar.gz
(28.3 kB
view hashes)
Built Distribution
mofchecker-0.2.1-py3-none-any.whl
(13.3 kB
view hashes)
Close
Hashes for mofchecker-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b835d9203f3bc1787988b0bbdf42166f0731b43ded7bd3a3c6dc11e8bdf535 |
|
MD5 | b6eb7afa181a4e261d3f47567076f5dc |
|
BLAKE2b-256 | bf44146b78221fa0b0fb5e9a4131e721a260d19526e93dec71b5fc8697258769 |