Skip to main content

Python workflow to run Free Energy calculations

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

https://img.shields.io/pypi/v/amberflow.svg Documentation Status https://zenodo.org/badge/502907107.svg
  • Free software: MIT license

  • Documentation: not yet publicly available.

Documentation

If you just want to check the documentation, it’s currentl being hosted on chardonnay. Just forward it using ssh:

ssh -L 8888:127.0.0.1:8000 yorkgroup@chardonnay.rutgers.edu

And then go to localhost:8888 on your browser.

Install

Clone this repo:

git clone git@github.com:/pgbarletta/amberflow

Change dir into the project and create conda environment:

mamba env create -f conda/dev_environment.yaml

Install this project:

git clone git@github.com:/pgbarletta/amberflow

Build it in editable mode using pip:

pip install -e .

Build the documentation:

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

Access the docs locally on your browser:

PATH/amberflow/docs/build/html/index.html

Development

To release a new version, just tag the main brand and push:

git tag 0.2.8
git push --tags

Testing

Run tests from the amberflow/ worktree root.

Run the default validation steps directly:

pytest -n 12

Run a single test:

pytest -n 12 tests/integration/test_build_edges_pipeline.py::TestBuildEdgesIntegration::test_antechamber_build_edges_trunctyk2

Run all integration tests:

TEST_AF_INTEGRATION=1 pytest -n 12 tests/integration

Run all campaign tests:

TEST_AF_CAMPAIGN=1 pytest -n 12 tests/campaign

Keep generated test files for inspection (works with any test selection):

pytest tests/foo.py::test_bar --keep=./my_temp_dir
pytest -n 12 --keep=./my_temp_dir
TEST_AF_INTEGRATION=1 pytest -n 12 tests/integration --keep=./my_temp_dir

Each test’s workspace is moved into <dir>/<sanitized_test_name>/ after the session finishes. If the directory does not exist, it is created.

For sequential debugging, reduce the worker count:

pytest -n 1

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

amberflow-0.8.0-py3-none-any.whl (879.2 kB view details)

Uploaded Python 3

File details

Details for the file amberflow-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: amberflow-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 879.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for amberflow-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4357c6995ee4553e383a427c39b24f33a4c755c972262106fabf8c45ccbe142a
MD5 e72343b1ca854a1d177204e96a8f202f
BLAKE2b-256 dbc62ae66c032d5fb2d90df9c8228e14f6f9ca8ea05ef1bee1b2c3e15b3878c1

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