Skip to main content

Prepare ice modules for GenIce from CIF file

Project description

A small utility to prepare a new ice structure from a CIF file.

The source can be

  1. A .cif file.

  2. An URL to a .cif file.

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

  1. To obtain a Zeolite RHO structure from the Zeolite DB

    cif2ice MTN
  2. To generate a python module from the foo.cif file:

    cif2ice ./MTN.cif
  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cif2ice-0.1.8.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

cif2ice-0.1.8-py2.py3-none-any.whl (16.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cif2ice-0.1.8.tar.gz.

File metadata

  • Download URL: cif2ice-0.1.8.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cif2ice-0.1.8.tar.gz
Algorithm Hash digest
SHA256 573410ddf88e63ad78c6b25badb8a8fb6fb06f54fcbcb55c3d086d8ae91b81ee
MD5 33fbcaa18c09610cbb2b4f27d614ed1f
BLAKE2b-256 0d18ee5b56144ddc4fcf2e0d3134c3b82cfb60c7cfef1fde8e1b7dc0ce1b9a6a

See more details on using hashes here.

File details

Details for the file cif2ice-0.1.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cif2ice-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a6c59936f5eb23ca5fcc9519276390423b92cbee9913f8a9dd4a3bb2aa526fa
MD5 2d1e7aa9206ee1325be1f35bcc48ea6b
BLAKE2b-256 f0df99a6f6de6c284f921437a4610ef6c6f31cb3c25abbc9bec2c3abab464366

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page