Releases: SCM-NV/PLAMS
Releases · SCM-NV/PLAMS
2025.105
Full Changelog: 2025.104...2025.105
2025.104
2024.107
What's Changed
Full Changelog: 2024.106...2024.107
2025.103
What's Changed
- Fix job loading for dill files from PLAMS<2025 by @dormrod in #271
- SO--. Fix bug in PLAMS wrapper for pyCRS example. by @WLChen1118 in #278
Full Changelog: 2025.102...2025.103
PLAMS 2025.102
What's Changed
- Update version to 2025.102 by @robertrueger in #263
- Add plot_phonons* to docs by @dormrod in #266
Full Changelog: 2025.101...2025.102
PLAMS 2025.101
This release corresponds to AMS release 2025.101
Added
- Methods
get_system,get_input_systemandget_main_systemtoAMSResults, which return an AMSChemicalSysteminstead of a PLAMSMolecule AMSJobcan accept an AMSChemicalSysteminstead of a PLAMSMoleculeas an input system- Specific
ConfigSettingsand related settings classes with explicitly defined fields - Support for work functions:
AMSResults.get_work_function_resultsandplot_work_function - New
packmol_aroundfunction for packing in non-orthorhombic boxes. - New
plot_grid_moleculesfunction for plotting with rdkit multiple molecules. Molecule.delete_atomsmethod to delete multiple atoms with partial success- Examples on
MoleculeFormatsandMoleculeTools - Examples on
Logging - Script
generate_example.shto generate documentation pages from notebook examples - GitHub workflows for CI and publishing to PyPI
- Build using
pyproject.toml, addition of extras groups to install optional dependencies - Logging of job summaries to CSV logfile
- Logging of AMS job error messages to stdout and logfile on job failure
- Method
get_errormsgenforced on theJobbase class, with a default implementation - Added an interface to the Serenity program through methods such as
SerenityJob,SerenityResultsandSerenitySettings - Methods
Settings.nested_keys,Settings.block_keysfor accessing nested keys andSettings.contains_nestedandSettings.pop_nestedfor checking if nested keys exist in a settings object and popping them - Method
Settings.compareadded to compare and contrast items in two settings objects - Method
readcoskfadded toMoleculeclass, enabling the reading of COSKF file JobAnalysistool for extracting job statuses, settings and results- Added support for calculating the hydrogen bond center using the Densf calculation in the
ADFCOSMORSCompoundJobclass - Introduced the
update_hbc_to_coskfmethod inADFCOSMORSCompoundJobclass to calculate the hydrogen bond center using an existing COSKF file - Added
AMSViscosityFromBinLogJobfor running the AMS trajectory analysis tool to extract viscosity.
Changed
- Functions for optional packages (e.g. RDKit, ASE) are available even when these packages are not installed, but will raise an
MissingOptionalPackageErrorwhen called AMSResults.get_main_ase_atomsalso includes atomic charges- Global
configis initialized with aConfigSettingsinstead of loading from the standardplams_defaultsfile initandfinishfunctions are now optionalJob.statusis aJobStatusstring enum- Supercell and RDKit properties are no longer serialized to AMS input
- Restructuring of examples and conversion of various examples to notebooks
- Support for
networkx>=3andase>=3.23 - Use standard library logger for
logfunction - Make
Jobclass inherit fromABCand mark abstract methods - Exceptions raised in
prerunandpostrunwill always be caught and populate error message Settings.get_nestedtakes a default argument which is returned if the nested key is not present in the settings instanceJobManager.workdirconverted to a readonly property, with the underlying workdir lazily created if it does not existJobRunner.parallel,JobRunner.maxjobsandJobRunner.maxthreadsare properties which can take values of0or>1andJobRunner.semaphorehas been moved to a protected attributeJobRunner._job_limit
Fixed
Molecule.properties.chargeis a numeric instead of string type when loading molecule from a fileMolecule.delete_all_bondsremoves the reference molecule from the removed bond instancesSingleJob.loadreturns the correctly loaded jobAMSJob.checkhandles aNoneTypestatus, returningFalseMultiJob.runlocking resolved when errors raised withinprerunandpostrunmethodsMolecule.add_hatomsto use bonding information if available when adding new hydrogen atoms- Changes made to
JobRunner.maxjobsafter initialization are correctly applied
Deprecated
plamslaunch script is deprecated in favor of simply running withamspython
Removed
- Legacy
BANDJob,DFTBJob,UFFJob,MOPACJob,ReaxFFJob,CSHessianADFJobandADFJobhave been removed - Exception classes
AMSPipeDecodeError,AMSPipeError,AMSPipeInvalidArgumentError,AMSPipeLogicError,AMSPipeRuntimeError,AMSPipeUnknownArgumentError,AMSPipeUnknownMethodError,AMSPipeUnknownVersionError, were moved from scm.plams to scm.amspipe.
PLAMS 2024.106
This release corresponds to AMS 2024.106.
Full Changelog: 2024.105...2024.106
PLAMS 2024.105
This release corresponds to AMS 2024.105.
Fixed
- Race-condition in
AMSJob.run(watch=True)where final logs may not have been forwarded AMSCalculatorto work withase==3.23Moleculeto work withnetworkx>=3
PLAMS 2024.104
This release corresponds to AMS 2024.104.
Full Changelog: 2024.103...2024.104
PLAMS 2024.103
Overview
This is the first PLAMS release which uses a new versioning scheme to align with AMS versioning and releases.
Going forwards, there will be a PLAMS release for each main AMS release. This release therefore corresponds to AMS 2024.103.
What's Changed
See release notes