diff --git a/ckanext/nhm/lib/helpers.py b/ckanext/nhm/lib/helpers.py index d205f850..08317fa8 100644 --- a/ckanext/nhm/lib/helpers.py +++ b/ckanext/nhm/lib/helpers.py @@ -1617,4 +1617,4 @@ def get_sample_voucher_guid(associated_occurrence_value: str) -> str: :return: the voucher specimen GUID """ _, guid = associated_occurrence_value.split(":", 1) - return guid + return guid.strip()