Prepare ice modules for GenIce from CIF file
Project description
cif2ice
Version 0.4.1
A small utility to prepare a new ice structure for GenIce2 from a CIF file.
(Note: this is not necessary for GenIce3 since the CIF loader is implemented.)
The source can be
- A
.ciffile. - An URL to a
.ciffile. - The three-letter code of Zeolites.
Installation
pip install cif2ice
Usage
usage: cif2ice.x [-h] [--rep REP REP REP] [--debug] [--quiet] [--force] name
positional arguments:
name CIF file, Zeolite 3-letter code, or URL
options:
-h, --help show this help message and exit
--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
-
(To obtain a Zeolite RHO structure from the Zeolite DB) It is no longer supported because the URLs at Zeolite DB has been changed. Please download the CIF file by hand and follow the next instruction. Sorry for inconvenience.
cif2ice MTN -
To generate a python module from the
foo.ciffile:cif2ice ./MTN.cif -
To make the python module from a remote
.ciffile:cif2ice http://somewhere/MTN.cif
To use the module with GenIce, make a folder named lattices/ in the current working directory and put MTN.py there.
genice2 MTN > MTN.gro
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
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.4.1.tar.gz.
File metadata
- Download URL: cif2ice-0.4.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.11 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad70c0239eb391c4d367c48d5706d95138bdf930337179acbc98eb38dbe87883
|
|
| MD5 |
d2083e80f5c423535065effeb28a7ab2
|
|
| BLAKE2b-256 |
eeabdab1c430fd2c3481d765865da44a6bfdbff1f81874f6de3f2411a987f305
|
File details
Details for the file cif2ice-0.4.1-py3-none-any.whl.
File metadata
- Download URL: cif2ice-0.4.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.11 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa02de262604cb81b7d8da80b789a76e33c7642cd1f1fbd0a79cb9f7f3056a58
|
|
| MD5 |
ca644facb26ff83b1e9d72e8be458daa
|
|
| BLAKE2b-256 |
73df18daffa47269c9a9e5c6660a539950e02fbe97310404451ae0c9004cf6d0
|