Skip to content

Commit 57a4dad

Browse files
committed
updated
1 parent edfb898 commit 57a4dad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/AnalysisFunctions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -972,9 +972,6 @@ def number_of_puncta_per_segmented_cell_with_threshold(
972972
hole_threshold=100,
973973
cell_threshold=lower_cell_size_threshold,
974974
)
975-
IO.write_tiff(
976-
file_path=cell_mask_file, volume=raw_cell_mask, bit=np.uint8
977-
)
978975
else:
979976
if os.path.isfile(cell_mask_file):
980977
cell_mask = IO.read_tiff(cell_mask_file)
@@ -983,6 +980,7 @@ def number_of_puncta_per_segmented_cell_with_threshold(
983980
)
984981
else:
985982
raw_cell_mask = IO.read_tiff(cell_mask_file)
983+
986984
if dims == 2:
987985
cell_mask, pil_mask, areas, centroids = self.threshold_cell_areas_2d(
988986
raw_cell_mask,
@@ -993,6 +991,7 @@ def number_of_puncta_per_segmented_cell_with_threshold(
993991
)
994992
else:
995993
if not os.path.isfile(cell_mask_file):
994+
print("here")
996995
cell_mask, pil_mask, areas, centroids = (
997996
self.threshold_cell_areas_3d(
998997
raw_cell_mask,

0 commit comments

Comments
 (0)