Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
talonchandler committed Aug 6, 2024
1 parent 3f48933 commit 6f88295
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions iohub/mm_fov.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def hcs_position_labels(self):

# Look for "'Pos-1-000_000', 'Pos-2-000_001', ... "
# and split into ('1', '000_000'), ...
# New format following https://github.com/micro-manager/micro-manager/pull/1897
# New format following
# https://github.com/micro-manager/micro-manager/pull/1897
labels = [
label[0].split("Pos-")[1].split("-") for label in labels
]
Expand All @@ -150,8 +151,8 @@ def hcs_position_labels(self):
labels = [pos.get("Label") for pos in self.stage_positions]
raise ValueError(
"HCS position labels are in the format of "
"'A1-Site_0', 'H12-Site_1', or '1-Pos000_000' , or 'Pos-1-000_000' "
f"Got labels {labels}"
"'A1-Site_0', 'H12-Site_1', or '1-Pos000_000', "
f"or 'Pos-1-000_000'. Got labels {labels}"
)

@property
Expand Down

0 comments on commit 6f88295

Please sign in to comment.