A small utility to prepare a new ice structure from a CIF file.
The source can be
A .cif file.
An URL to a .cif file.
The three-letter code of Zeolites.
Installation
Use pip of Python2. (Cif2ice uses pycifrw that is provided only for Python2)
pip install cif2ice
Usage
usage: cif2ice [-h] [--rep REP REP REP] [--debug] [--quiet] [--force] name
positional arguments:
name CIF file, Zeolite name, or URL
optional arguments:
-h, --help show this help message and exit
--rep REP REP REP, -r REP REP REP
Repeat the unit cell in x,y, and z directions. [1,1,1]
--debug, -D Output debugging info.
--quiet, -q Do not output progress messages.
--force, -f Force overwrite.
Example
In any case, the generated python module will be stored in the private folder for GenIce (.genice/lattices or Library/Application Support/GenIce):
To obtain a Zeolite RHO structure from the Zeolite DB
cif2ice MTN
To generate a python module from the foo.cif file:
cif2ice ./MTN.cif
To make the python module from a remote .cif file:
cif2ice http://somewhere/MTN.cif
The structure is accessible from GenIce:
genice MTN > MTN.gro
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cif2ice-0.1.7.tar.gz.
File metadata
- Download URL: cif2ice-0.1.7.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
540f1615173e6aa2a7d82ce572eaff223414c82103bb741b67ec959b6b265144
|
|
| MD5 |
9325a03c05f3cbb18f9c09fbd4f60fdb
|
|
| BLAKE2b-256 |
9315a853a65c548a0c71904962a92a39027d3c132a7668ec42a8bc3bfa840fa9
|
File details
Details for the file cif2ice-0.1.7-py2.py3-none-any.whl.
File metadata
- Download URL: cif2ice-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f96bd1f7e2b563f26837e170d71dd1a2467bff2b6344132c477ba560f9b33e3a
|
|
| MD5 |
2c46626af88ef32080a7b060a16896be
|
|
| BLAKE2b-256 |
cbf17879f83f365d389d51f055b996c926dd545c2a6b8c04be8a961b053dfed7
|