Skip to main content

Topologically Based Crystal Constructor (ToBaCCo)

Project description

Fixed ToBaCCo 3.0 code from https://github.com/tobacco-mofs

useage

from tobacco import run_tobacco
from glob import glob
from tqdm import tqdm

save_path = "./"

nodes_dataset = glob("./database/example/nodes/*cif")
edges_dataset = glob("./database/example/edges/*cif")
templates_dataset = glob("./database/example/templates/*cif")

for node in tqdm(nodes_dataset):
    print("NODE:", node)
        for edge in (edges_dataset):
        print("EDGE:", edge)
        for template in (templates_dataset):
            try:
                run_tobacco(template, [node], [edge], save_path)
            except:
                pass

Bugs

If you encounter any problem, please email sxmzhaogb@gmail.com.

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

tobacco_mof-4.0.2.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tobacco_mof-4.0.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file tobacco_mof-4.0.2.tar.gz.

File metadata

  • Download URL: tobacco_mof-4.0.2.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for tobacco_mof-4.0.2.tar.gz
Algorithm Hash digest
SHA256 d0978115fa60ee29da160bc02f6e78f03249e1fac617fe181fff0191d3a8a6fc
MD5 b311a3c787ab10bd86bc9103f8837b35
BLAKE2b-256 d099e0b9a07fd929cbf9eaa4692a76610ebc131a91faf42e95adb49f06495c79

See more details on using hashes here.

File details

Details for the file tobacco_mof-4.0.2-py3-none-any.whl.

File metadata

  • Download URL: tobacco_mof-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for tobacco_mof-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68b58492885524783736afcdbfcf8eaf1e5300caeade5a15e88322355adad0b6
MD5 d0c47bc36dcd3e02cf44b37d6c048f9e
BLAKE2b-256 af412312d5e7ad6ed1d22e58be92fd8300d124ff155710876f22d963d5f7852a

See more details on using hashes here.

Supported by

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