Skip to main content

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

  1. A .cif file.
  2. An URL to a .cif file.
  3. 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

  1. (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
    
  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
    

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

Metadata

Release files for cif2ice 0.4.1

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

Source distribution (sdist)

Source distribution for cif2ice 0.4.1
File Size Uploaded
cif2ice-0.4.1.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cif2ice 0.4.1
File Interpreter ABI Platform
cif2ice-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / cif2ice-0.4.1.tar.gz

Download URL cif2ice-0.4.1.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad70c0239eb391c4d367c48d5706d95138bdf930337179acbc98eb38dbe87883
BLAKE2b-256 checksum
How to use checksums
eeabdab1c430fd2c3481d765865da44a6bfdbff1f81874f6de3f2411a987f305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Darwin/24.5.0

Release files / cif2ice-0.4.1-py3-none-any.whl

Download URL cif2ice-0.4.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa02de262604cb81b7d8da80b789a76e33c7642cd1f1fbd0a79cb9f7f3056a58
BLAKE2b-256 checksum
How to use checksums
73df18daffa47269c9a9e5c6660a539950e02fbe97310404451ae0c9004cf6d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

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