Skip to content

Commit 445c898

Browse files
committed
Remove NotImplementedError to allow for uploading Zarr assets to embargoed Dandisets
1 parent ff49fd1 commit 445c898

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

dandi/files/zarr.py

-6
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,6 @@ def iter_upload(
297297
``"done"`` and an ``"asset"`` key containing the resulting
298298
`RemoteAsset`.
299299
"""
300-
# So that older clients don't get away with doing the wrong thing once
301-
# Zarr upload to embargoed Dandisets is implemented in the API:
302-
if dandiset.embargo_status is EmbargoStatus.EMBARGOED:
303-
raise NotImplementedError(
304-
"Uploading Zarr assets to embargoed Dandisets is currently not implemented"
305-
)
306300
asset_path = metadata.setdefault("path", self.path)
307301
client = dandiset.client
308302
lgr.debug("%s: Producing asset", asset_path)

0 commit comments

Comments
 (0)