Skip to content

Commit

Permalink
Update ibridges/meta.py
Browse files Browse the repository at this point in the history
Co-authored-by: qubixes <44498096+qubixes@users.noreply.github.com>
  • Loading branch information
chStaiger and qubixes authored Nov 26, 2024
1 parent 7ae3f6f commit be32db9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ibridges/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,6 @@ def update(self, new_key: str, new_value: str, new_units: Optional[str] = ""):
self._ibridges_meta.add(*new_item_key)
self._ibridges_meta.item.metadata.remove(self._prc_meta)
# If we get an error, roll back the added metadata
except TypeError as error:
raise TypeError(repr(error)) from error
except irods.exception.CAT_NO_ACCESS_PERMISSION as error:
self._ibridges_meta.delete(*new_item_key)
raise ValueError(
Expand Down

0 comments on commit be32db9

Please sign in to comment.