diff --git a/CHANGELOG.md b/CHANGELOG.md index e481e71..675718e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/) +## [Unreleased] 2024-06-28 + +### Fixed + +- valid range of "Maximum RAM Percentage" parameter in Validate plugin (1-100) ## [1.0.0alpha3] 2024-06-28 diff --git a/cmem_plugin_reason/plugin_validate.py b/cmem_plugin_reason/plugin_validate.py index f2c8969..8a5a487 100644 --- a/cmem_plugin_reason/plugin_validate.py +++ b/cmem_plugin_reason/plugin_validate.py @@ -110,7 +110,7 @@ def __init__( # noqa: PLR0913 validate_filename(md_filename) except: # noqa: E722 errors += "Invalid filename for parameter Output filename. " - if max_ram_percentage not in range(1, 100): + if max_ram_percentage not in range(1, 101): errors += "Invalid value for parameter Maximum RAM Percentage. " if errors: raise ValueError(errors[:-1])