Skip to content

Commit

Permalink
Remove duplicate None check
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 13, 2022
1 parent 2ed4426 commit 4c3b2af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ome_zarr/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def _validate_plate_acquisitions(
"starttime",
"endtime",
]
if acquisitions is None:
return

for acquisition in acquisitions:
if not isinstance(acquisition, dict):
raise ValueError(f"{acquisition} must be a dictionary")
Expand Down

0 comments on commit 4c3b2af

Please sign in to comment.