Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ychiucco committed Feb 20, 2024
1 parent ac5d8fd commit de2de84
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ def create_ome_zarr(
(Path(zarr_path) / image_relative_path).mkdir(parents=True)

# Prepare output metadata

out = dict(
new_images=[
dict(
path=f"{plate_zarr_name}/{image_relative_path}",
well="_".join(image_relative_path.split("/")[:2]),
attributes=dict(well="_".join(image_relative_path.split("/")[:2])),
)
for image_relative_path in image_relative_paths
],
Expand All @@ -70,6 +71,7 @@ def create_ome_zarr(
),
)
print("[create_ome_zarr] END")

return out


Expand Down Expand Up @@ -114,6 +116,7 @@ def illumination_correction(
subsets: Optional[dict[Literal["T_index", "C_index", "Z_index"], int]] = None,
overwrite_input: bool = False,
) -> dict:

print("[illumination_correction] START")
print(f"[illumination_correction] {root_dir=}")
print(f"[illumination_correction] {path=}")
Expand Down Expand Up @@ -314,8 +317,10 @@ def create_ome_zarr_multiplex(
new_images.append(
dict(
path=f"{plate_zarr_name}/{image_relative_path}",
well="_".join(image_relative_path.split("/")[:2]),
acquisition=acquisitions[ind],
attributes=dict(
well="_".join(image_relative_path.split("/")[:2]),
acquisition=acquisitions[ind],
),
)
)
out = dict(
Expand Down

0 comments on commit de2de84

Please sign in to comment.