Giter Club home page Giter Club logo

aiida-codtools's Introduction

aiida-codtools

This is the official AiiDA plugin for cod-tools.

Latest release PyPI version PyPI pyversions
Getting help Docs status
Build status Build Status

Compatibility matrix

The following table shows which versions of aiida-codtools are compatible with which versions of AiiDA and Python.

>= v2.1.0 PyPI pyversions
v2.0.0 < v2.1.0 PyPI pyversions
v1.0.0 < v2.0.0 PyPI pyversions

Installation

To install from PyPi, simply execute:

pip install aiida-codtools

or when installing from source:

git clone https://github.com/aiidateam/aiida-codtools
pip install aiida-codtools

Get started

In order to use aiida-codtools, after installing the package, aiida-core needs to be setup and configured. For instructions please follow the documentation of aiida-core.

The package provides a command line script aiida-codtools that comes with some useful commands, such as launching calculation or imports CIF files. Call the command with the --help flag to display its usage:

Usage: aiida-codtools [OPTIONS] COMMAND [ARGS]...

  CLI for the `aiida-codtools` plugin.

Options:
  -p, --profile PROFILE  Execute the command for this profile instead of the default profile.
  -h, --help             Show this message and exit.

Commands:
  calculation  Commands to launch and interact with calculations.
  data         Commands to import, create and inspect data nodes.
  workflow     Commands to launch and interact with workflows.

Each sub command can have multiple other sub commands. To enable tab completion, add the following line to your shell activation script:

eval "$(_AIIDA_CODTOOLS_COMPLETE=source aiida-codtools)"

To import 10 random CIF files from the COD database, for example, you can do the following:

verdi group create cod_cif_raw
aiida-codtools data cif import -d cod -G cod_cif_raw -M 10

After you have configured a computer and a code, you can also easily launch a cod-tools calculation through AiiDA:

aiida-codtools calculation launch cod-tools -X cif-filter -N 10

Here cif-filter is the label of the code that you have configured and 10 is the pk of a CifData node. These will most likely be different for your database, so change them accordingly.

Documentation

The documentation for this package can be found on readthedocs.

Acknowledgements

This work is supported in part by the swissuniversities P-5 project "Materials Cloud".

swissuniversities

aiida-codtools's People

Contributors

borellim avatar elsapassaro avatar katrinleinweber avatar lekah avatar sphuber avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.