Skip to content

Commit

Permalink
Change metadata to not automatically uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Feb 2, 2024
1 parent 0235ede commit 8af4afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibridges/irodsconnector/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def add(self, key: str, value: str, units: Optional[str] = None):
CATALOG_ALREADY_HAS_ITEM_BY_THAT_NAME
"""
try:
self.item.metadata.add(key.upper(), value, units)
self.item.metadata.add(key, value, units)
except irods.exception.CATALOG_ALREADY_HAS_ITEM_BY_THAT_NAME as error:
raise ValueError("ADD META: Metadata already present") from error
except irods.exception.CAT_NO_ACCESS_PERMISSION as error:
Expand Down

0 comments on commit 8af4afd

Please sign in to comment.