check_all_probability_distribution_nonnegative#
- check_all_probability_distribution_nonnegative(location, die=False, verbose=True)[source]#
Run checks that a field representing probabilty distributions has all non negative values.
- Parameters:
location (json) – json object with the location data
die (bool) – raise an exception if the check fails
verbose (bool) – print a warning if the check fails
- Returns:
List of checks and a list of associated error messages.
- Return type:
list, list