Skip to content

Commit

Permalink
Remove NotImplementedError to allow for uploading Zarr assets to em…
Browse files Browse the repository at this point in the history
…bargoed Dandisets
  • Loading branch information
kabilar committed Nov 25, 2024
1 parent ff49fd1 commit 445c898
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dandi/files/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,6 @@ def iter_upload(
``"done"`` and an ``"asset"`` key containing the resulting
`RemoteAsset`.
"""
# So that older clients don't get away with doing the wrong thing once
# Zarr upload to embargoed Dandisets is implemented in the API:
if dandiset.embargo_status is EmbargoStatus.EMBARGOED:
raise NotImplementedError(
"Uploading Zarr assets to embargoed Dandisets is currently not implemented"
)
asset_path = metadata.setdefault("path", self.path)
client = dandiset.client
lgr.debug("%s: Producing asset", asset_path)
Expand Down

0 comments on commit 445c898

Please sign in to comment.