Skip to content

Commit

Permalink
fix: strip the specimen GUID to avoid including spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Sep 17, 2024
1 parent f73541f commit 9f09a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/nhm/lib/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 9f09a40

Please sign in to comment.