Skip to content

Commit d7d3d6f

Browse files
fix: review issues
1 parent 84d120c commit d7d3d6f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

fractal_tasks_core/tasks/copy_ome_zarr_hcs_plate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,14 @@
3838
@cache
3939
def _open_well(well_path) -> OmeZarrWell:
4040
"""
41-
Given the absolute `plate_url` for an OME-Zarr plate,
41+
Given the absolute `well_url` for an OME-Zarr plate,
4242
return the well object.
4343
"""
4444
try:
4545
well = open_ome_zarr_well(
4646
well_path, mode="r", cache=True, parallel_safe=False
4747
)
4848
except NgioFileNotFoundError:
49-
# logger.error(f"Could not open well {well_path}")
5049
raise NgioFileNotFoundError(
5150
f"Could not open well {well_path}. "
5251
"Ensure that the path is correct and the file exists."

fractal_tasks_core/tasks/projection.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ def projection(
9595
logger.info(f"New shape: {dest_on_disk_shape=}")
9696

9797
# Create the new empty image
98-
from devtools import debug
99-
from pathlib import Path
100-
101-
debug(zarr_url)
102-
debug(Path(zarr_url).exists())
10398
new_ngff_image = original_ngff_image.derive_image(
10499
store=zarr_url,
105100
name="MIP",
@@ -120,8 +115,7 @@ def projection(
120115
new_image.consolidate()
121116
# Ends
122117

123-
# Copy over the tables
124-
118+
# Edit the roi tables
125119
for roi_table_name in new_ngff_image.list_roi_tables():
126120
table = new_ngff_image.get_table(
127121
roi_table_name, check_type="generic_roi_table"

0 commit comments

Comments
 (0)