Skip to main content

AiiDAlab DL_POLY Application

Release PyPI

Pipeline Status Docs Status

DL_POLY logo

This is an AiiDAlab application plugin for running and managing DL_POLY molecular dynamics simulations, maintained by the Ada Lovelace Centre (ALC). It provides a guided, wizard-style interface for configuring, submitting and inspecting DL_POLY calculations from within the AiiDA/AiiDAlab environment, building on the aiida-dlpoly plugin which supplies the underlying AiiDA calculation and parser.

The app is still in an early development stage and any input or contributions are welcome. Full documentation can be found at https://stfc.github.io/aiidalab-dlpoly/.

Features

The application guides the user through a molecular dynamics calculation as a sequence of wizard steps:

  • Select Structure — provide the simulation cell either by uploading a DL_POLY CONFIG file or by querying an existing structure from the AiiDA database, with an integrated structure viewer.
  • Configure Workflow — supply the force field (FIELD) file, either by upload or by searching the AiiDA database, and define the simulation control either as a pre-formatted DL_POLY CONTROL file or through basic control parameters. Note: Some DL_POLY features are only available through a pre-configured CONTROL file.
  • Configure Computational Resources — select the registered DL_POLY code and set the resources (e.g. number of CPUs) for the run.
  • Results — browse the submitted process, its provenance and outputs through an interactive node tree and viewer.

A dedicated history page lists previously submitted DL_POLY calculations, and a resources page provides computational resource setup.

Usage

This plugin is hosted on the AiiDAlab plugin registry and can therefore be installed via the AiiDAlab plugin management UI page from within the AiiDAlab application interface. Instructions for how to run AiiDAlab itself can be found in its documentation and are also included in the documentation associated with this project at https://stfc.github.io/aiidalab-dlpoly/. It is generally recommended to run AiiDAlab through a container engine such as Docker or Apptainer. In general the core docker image applicable to most use cases is aiidalab/full-stack:latest, however many other options exist for more tailored startup environments.

Once installed in an AiiDAlab environment, the app appears on the AiiDAlab home page. Launch it to open main.ipynb and step through the wizard.

Alternatively, the package can be installed directly from source for development:

pip install .

For Developers

Style Checking

This package uses pre-commit hooks (running Ruff for linting and formatting) to enforce a consistent style. Install the development dependencies,

pip install .[dev]

then enable the hooks in the repository root,

pre-commit install

Style and formatting checks will now run on every commit.

Testing

This package uses pytest for its unit tests, included in the [dev] optional dependencies. From the project root the tests, together with a coverage report, can be run via,

pytest --cov=aiidalab_dlpoly

The CI workflows are configured to ensure all tests pass before a pull request can be accepted into the main repository. It is important that any new additions to the code base are accompanied by appropriate testing, maintaining a high code coverage.

Documentation

The documentation, including a User Guide and an API reference, is built using Sphinx. The source is contained in the docs/ directory. All required packages can be installed alongside the core package via,

pip install .[docs]

and the documentation can then be built with,

sphinx-build -b html docs/source/ docs/build/html

from the root directory.

See CONTRIBUTING and CODING_STYLE for further guidance on contributing to the project.

Citation

If you use this software, please cite it as described in the CITATION.cff file.

License

BSD 3-Clause License

Author

Dr. Benjamin T. Speake (ORCID: 0000-0002-5690-9470).

Funding

Contributors to this project were funded by the Ada Lovelace Centre (ALC).

Download files

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

Source Distribution

aiidalab_dlpoly-0.1.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

aiidalab_dlpoly-0.1.1-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file aiidalab_dlpoly-0.1.1.tar.gz.

File metadata

  • Download URL: aiidalab_dlpoly-0.1.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for aiidalab_dlpoly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9994c88d04870e3710545db3be011fb4d324ed2f721fd48decba61e18fda9f4d
MD5 81c53ecaaa7b59ceda79fa0f86a870a2
BLAKE2b-256 78f8bc3156b1e89714aa608cb3c09bb7fb938e96a49c22d1164c73bfb2435a00

See more details on using hashes here.

File details

Details for the file aiidalab_dlpoly-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aiidalab_dlpoly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for aiidalab_dlpoly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3d823ef0bd3b6b1d5e074d1a8d42aa341c8b25ec5666b69e49aa18ceffda20e
MD5 bf8d704d410da5fe7d965282e2ce3bef
BLAKE2b-256 61401aa6fc88d50d8fbcd7137cf5c615d814fc3bdf4cadfb266463a702fd9877

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 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