Releases: hprats/ZacrosTools
Releases · hprats/ZacrosTools
Version 2.2
[2.2] 20-Dec-2024
Added
- Stiffness coefficients parsing: added to ability to parse stiffness coefficient information from
general_output.txt
usingzacrostools.parse_general_output_file
. - Examples:
DRM_on_PtHfC
: Demonstrates how to analyze hundreds of output files to generate heatmaps.custom_lattice_models
: Illustrates how to create custom lattice models for Zacros simulations..
Changed
- Analysis of output files:
- Renamed
window_percent
toanalysis_range
- Renamed
window_type
torange_type
- Renamed
Improved
- Documentation: Improved the ZacrosTools Documentation.
Full details are available in the ZacrosTools CHANGELOG.
Version 2.1
[2.1] 27-Nov-2024
Added
- New classes and methods: create the following new classes from a Python dictionary, a Pandas DataFrame, or a
.csv
file.GasModel
: information about gas-phase species. Methods available:add_species
andremove_species
.EnergeticsModel
: information about each cluster in the cluster expansion. Methods available:add_cluster
,remove_cluster
andwrite_energetics_input
.ReactionModel
: information about each elementary step. Methods available:add_step
,remove_steps
andwrite_mechanism_input
.
- Automatic neighboring structure generation: use a distance criteria between site to automatically create the neighboring structure for a custom lattice model.
- Use total pressure in heatmap axis: now
total_pressure
can be chosen for thex
ory
axis in a heatmap plot to create pressure vs temperature heatmaps. - New tests: added a new test for continuous integration with GitHub Actions that generates all input files and compares them with reference files.
- New parameters:
- added
sig_figs_lattice
parameter inKMCModel.create_job_dir
to control the number of significant figures used when writing coordinates inlattice_input.dat
. - added
show_max
parameter inplot_heatmap
to display a green 'x' marker at the point with the highest TOF.
- added
Changed
- Building a
KMCModel
: theKMCModel
now is built from aGasModel
, anEnergeticsModel
, aReactionModel
and aLatticeModel
.
Improved
- Parsing of output files:
parse_general_output
can now parsegeneral_output.txt
files generated by Zacros version 2.x. - Validation of parameters: improved the parsing and validation of selected parameters for all modules to prevent errors.
- Docstrings: all docstrings have been updated using the Numpy format.
- Documentation: Improved the ZacrosTools Documentation.
Full details are available in the ZacrosTools CHANGELOG.
Version 1.3
Added
- Comprehensive Test Suite with Pytest: Implemented a suite of tests using Pytest to ensure code reliability and facilitate future development.
- Continuous Integration with GitHub Actions: Set up CI workflows to automatically run tests on every push and pull request, enhancing code quality and preventing regressions.
- Enhanced Documentation:
- Updated
README.md
with detailed installation instructions, usage examples, badges, and contributor guidelines.
- Updated
Version 1.02
Added
- Added new parameters in
KMCModel.create_job_dir
in anticipation of a future version of Zacros.
Changed
- In
KMCModel.create_job_dir
method, parameterauto_scaling_steps
has been renamed tostiffness_scaling_steps
and
parameterauto_scaling_tags
has been renamed tostiffness_scaling_tags
.
Fixed
- Fixed bug where, if only one surface species was declared,
surf_specs_dent
would be an integer instead of a list. - Fixed bug where the total pressure could be written as an integer, and then the simulation will crash.
Improved
- Now, ZacrosTools checks if the keywords provided in
stiffness_scaling_tags
are allowed. - Improved the ZacrosTools Documentation.
Version 1.01
Added
- Added data validation and error handling in
plot_result.py
. - ZacrosTools is now compatible with multidentate species.
- ZacrosTools is now compatible with default lattices.
Changed
- The
detect_issues
function now only considers the specified window percent. - Default
window_percent
fordetect_issues
changed from[50, 100]
to[30, 100]
.
Fixed
- Bug fix for cases where vibrational energies of 0.0 are specified in the reaction model.
Improved
- Improved the ZacrosTools Documentation.
Version 1.0.0
[1.0.0] - 2024-09-06
I am excited to announce the first stable release of ZacrosTools! This version marks a significant milestone as it transitions from beta to stable, incorporating user feedback and ensuring reliability and performance.
Getting Started:
To get started with ZacrosTools, please visit the Documentation.
Contributions:
We welcome contributions and feedback! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Acknowledgments:
I would like to thank Sharath Yadavalli and Zeyu Wu who have tested this library and provided feedback.