| Latest release | |
|---|---|
| Status | |
| Community |
Dashboard for tracking and analyzing live MD simulations with streaming.
mdadash is bound by a Code of Conduct.
To build mdadash from source,
we highly recommend using virtual environments.
If possible, we strongly recommend that you use
Anaconda as your package manager.
Below we provide instructions both for conda and
for pip.
Ensure that you have conda installed.
Create a virtual environment and activate it:
conda create --name mdadash
conda activate mdadashInstall the development, testing and documentation dependencies:
conda env update --name mdadash --file devtools/conda-envs/dev_env.yaml
conda env update --name mdadash --file devtools/conda-envs/test_env.yaml
conda env update --name mdadash --file docs/requirements.yamlBuild this package from source:
pip install -e .If you want to update your dependencies (which can be risky!), run:
conda update --allAnd when you are finished, you can exit the virtual environment with:
conda deactivateTo build the package from source, run:
pip install .If you want to create a development environment, install the dependencies required for tests and docs with:
pip install ".[dev,test,doc]"The frontend code needs to be built before running the backend server. This can be done as follows:
cd mdadash/frontend
npm install
npm run buildTo run the dashboard server:
mdadashTo see the options available:
mdadash --helpDeveloper instruction for frontend code can be found here.
- Use the
editableinstallation above (pip install -e .) - Run
mdadashwith the--reloadoption to auto-reload when changes detected
npm run test:unit --prefix mdadash/frontend -- --runpytest -vTo build this package:
rm -rf mdadash.egg-info dist && python -m buildTo verify the created wheel:
uv run --refresh --with path.to.whl mdadashTo check the created distribution:
twine check dist/*GitHub actions can be verified locally using act.
Note that this requires Docker. Running on Mac needs an additional param
--container-architecture linux/arm64. To bypass the repo name check, you can pass--env GITHUB_REPOSITORY=MDAnalysis/mdadash. Both these can be set in~/.actrcas well.
To list the jobs:
act -lTo run a job (eg: pylint_check):
act -j pylint_checkTo run all jobs:
actThe mdadash source code is hosted at https://github.com/MDAnalysis/mdadash and is available under the MIT License (see the file LICENSE).
Copyright (c) 2026, MDAnalysis
Project based on the MDAnalysis Cookiecutter version 0.1. Please cite MDAnalysis when using mdadash in published work.