Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Apr 15, 2024
1 parent adb9ee5 commit e096c3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iohub/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def _convert_image_plane_metadata(self, fov, zarr_name: str):
continue
if not sorted_keys:
# Sort keys, ordering keys without dashes first
sorted_keys = sorted(metadata.keys(), key=lambda x: ('-' in x, x))
sorted_keys = sorted(
metadata.keys(), key=lambda x: ('-' in x, x)
)

sorted_metadata = {key: metadata[key] for key in sorted_keys}
# T/C/Z
Expand Down

0 comments on commit e096c3c

Please sign in to comment.