Skip to main content

A SEAMM plug-in for building periodic boxes of fluid using Packmol

Project description

SEAMM Packmol Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status PyPi VERSION

A SEAMM plug-in for building periodic boxes of fluid using Packmol

This plug-in takes the molecule in the current system and creates a periodic box containing many copies of the molecule in order to simulate a fluid.

Features

  • Multiple ways to specify final cell:

    • Size of the cubic cell and density or number of molecules or number of atoms.

    • Volume and density or number of molecules or number of atoms.

    • density and size of the cubic cell or volume or number of molecules or of atoms.

Acknowledgements

This package was created with Cookiecutter and the molssi-seamm/cookiecutter-seamm-plugin project template.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under awards OAC-1547580 and CHE-2136142

History

2026.3.1 – Internal: switching from deprecated library pkg_resources to importlib

2026.1.7 – Enhancement: using periodic packing now in Packmol
  • Added support for the PBC boundary conditions now that they are implemented in Packmol. This seems to lead to considerably better packing, particulalrly with periodic solutes like MOF’s and zeolites.

2025.12.19 – Bugfix: initialization of random numbers
  • Added the command to the Packmol input to set the random seed using the system clock so that each run is different.

2025.9.6 – Bugfixes: centering of solute and using variables for compounds
  • Fixed a problem centering a solute in a cubic cell.

  • Fixed problems using variables for the compounds, counts, etc. in the input.

  • Fixed a problem if the number of molecules of a compound is zero. Now it is just ignored.

2025.6.20 – Added support for MACE PyTorch potentials

2025.3.9 – Update for new installer
  • Changes in the installer required changes for codes that installed background codes, like PACKMOL. This update allows PACKMOL to be automatically installed.

2025.1.29 – Bugfixes: executable and SMILES
  • The configuration for the executable was not set up correctly.

  • There was a bug due to change in the SMILES interface for configurations.

2024.7.25 – Bugfix: initial setup of packmol.ini file
  • The initial setup of the packmol.ini file did not add the information for Conda. This release fixes that problem.

2024.6.29 – Bugfix: bonding incorrect in some cases.
  • The use of PDB with Packmol could in some cases lead to multiple bonds in the wrong place. This release fixes that problem.

2024.6.21.2 – Another internal release for Docker.

2024.6.21.1 – Internal release for Docker
  • There was an internal issue creating the Docker image.

2024.6.21 – Switching to RDKit for SMILES
  • Using RDKit for SMILES since we found some issues with OpenBabel, and also the atom typing uses RDKit, so this is more compatible.

2024.3.19 – Updated installer for new scheme
  • packmol-step-installer now uses the new scheme, which supports both Conda and Docker installation.

  • Added seamm-packmol Docker image

2024.1.16 – Adding support for containers
  • Added the ability to work in Docker containers.

2023.9.6 – Using fractional coordinates for periodic systems.
  • By convention, SEAMM is using fractional coordinates for periodic systems. The PACKMOL step was creating periodic structures with Cartesian coordinates, which can be a bit confusing, though it did not affect any reauls. This change fixes the issue.

2023.2.15 – Restructured documentation and moved to new theme.

2022.5.31 – Substantial enhancements

Added ability to solvate molecules and increased the options to include

  • spherical regions

  • cubic and rectangular regions

  • cubic and rectangular unit cells for periodic systems

  • input molecules from any combination of system/configurations and SMILES

  • reworked GUI to be more intuitive.

2021.11.27 – Fixed bug with atom types.

2021.10.25 – Bugfix for problems with ideal gas approach.

2021.8.29 – Multiple different molecules available via SMILES

This release adds

  • the ability to directly generate multiple different molecules from SMILES, giving the stoichiometry for packing into the fluid box.

  • specifying the desired cell with the temperature and pressure, along with one of the volume, length of the box side, number of molecules or number of atoms. This uses the ideal gas law, so will only be reasonable at higher temperatures and lower densities.

Additionally, internally the release adds integration tests to check whether the module works properly in the SEAMM environment.

2021.6.3 – internal change for improvements in parsing the commandline

2021.5.25 – Added installer for Packmol executable.

2021.2.11 (11 February 2021)

  • Updated the README file to give a better description.

  • Updated the short description in setup.py to work with the new installer.

  • Added keywords for better searchability.

2021.2.4 (4 February 2021)

  • Updated for compatibility with the new system classes in MolSystem 2021.2.2 release.

2020.12.5 (5 December 2020)

  • Internal: switching CI from TravisCI to GitHub Actions, and in the process moving documentation from ReadTheDocs to GitHub Pages where it is consolidated with the main SEAMM documentation.

2020.11.2 (2 November 2020)

  • Updated to be compatible with the new command-line argument handling.

2020.10.7 (7 October 2020)

  • Added citations to be printed and stored.

2020.9.29 (29 September 2020)

  • Updated to be compatible with the new system classes in MolSystem.

2020.8.1 (1 August 2020)

  • Fixed bugs in the edit dialog.

0.9 (15 April 2020)

  • General bug fixing and code cleanup.

  • Part of release of all modules.

0.7.0 (17 December 2019)

  • General clean-up of code and output.

  • Part of release of all modules.

v0.3.0 (27 August 2019)

  • First running version with reasonable output.

0.2.0 (13 August 2019)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

packmol_step-2026.3.1.tar.gz (321.8 kB view details)

Uploaded Source

Built Distribution

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

packmol_step-2026.3.1-py2.py3-none-any.whl (25.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file packmol_step-2026.3.1.tar.gz.

File metadata

  • Download URL: packmol_step-2026.3.1.tar.gz
  • Upload date:
  • Size: 321.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for packmol_step-2026.3.1.tar.gz
Algorithm Hash digest
SHA256 1740d2a3eeea3e8d9ad5a6b492d22b8ae78a5617bf93a585f1a09dfc7e339798
MD5 8585dd02f3f2e7a5128cb85326d29aa9
BLAKE2b-256 d14633d7927f99bad738ad33031450332c39165d4490d71bd8dce00474cad972

See more details on using hashes here.

File details

Details for the file packmol_step-2026.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for packmol_step-2026.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 64e06d3443100bb4222a8e6823703f348f81359614db493c3152a04ec3189857
MD5 134f4cb53653a7ea057a3bd7e5568729
BLAKE2b-256 c20fed3d223cfc4a4f87660462edc29912d0186834c9d385adfac05c438bceec

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