AiiDA demo plugin that computes the difference between two files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis-data
aiida_diff
docs
examples
.coveragerc
.gitignore
.pre-commit-config.yaml
.readthedocs.yml
.travis.yml
LICENSE
MANIFEST.in
README.md
conftest.py
setup.json
setup.py

README.md

Build Status Coverage Status Docs status PyPI version

aiida-diff

AiiDA demo plugin that computes the difference between two files.

Templated using the AiiDA plugin cutter.

Installation

git clone https://github.com/aiidateam/aiida-diff .
cd aiida-diff
pip install -e .  # also installs aiida, if missing (but not postgres)
#pip install -e .[pre-commit,testing] # install extras for more features
verdi quicksetup  # better to set up a new profile
verdi calculation plugins  # should now show your calclulation plugins

Usage

Here goes a complete example of how to submit a test calculation using this plugin.

A quick demo of how to submit a calculation:

verdi daemon start         # make sure the daemon is running
cd examples
verdi run submit.py        # submit test calculation
verdi calculation list -a  # check status of calculation

The plugin also includes verdi commands to inspect its data types:

verdi data diff list
verdi data diff export <PK>

Tests

The following will discover and run all unit tests:

pip install -e .[testing]
pytest -v

License

MIT