vantage6.algorithm.tools.util.check_envvar_value_positive#
- check_envvar_value_positive(envvar_name, envvar_value)#
Check whether an environment variable is a positive integer.
- Parameters:
envvar_name (str) – The environment variable name.
envvar_value (int | float) – The value to check.
- Raises:
EnvironmentVariableError – If the value is not a positive integer.
- Return type:
None