Skip to content

Commit

Permalink
Remove unexpected not
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 10, 2022
1 parent 12b341d commit ff197a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ome_zarr/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _validate_plate_acquisitions(
for acquisition in acquisitions:
if not isinstance(acquisition, dict):
raise ValueError(f"{acquisition} must be a dictionary")
if not any(e not in VALID_KEYS for e in acquisition.keys()):
if any(e not in VALID_KEYS for e in acquisition.keys()):
LOGGER.debug("f{acquisition} contains unspecified keys")
if "id" not in acquisition:
raise ValueError(f"{acquisition} must contain an id key")
Expand Down

0 comments on commit ff197a0

Please sign in to comment.