File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1836,9 +1836,9 @@ def number_of_puncta_per_segmented_cell_with_threshold(
1836
1836
protein_string (string): will use this to find corresponding files
1837
1837
imtype (string): image type previously analysed
1838
1838
aboveT (int): do the calculation above or below threshold
1839
- z_project_first (boolean, boolean): if both True (default), does a z
1839
+ z_project_first (boolean, boolean): if both True (default), does a z
1840
1840
projection before
1841
- thresholding cell size.
1841
+ thresholding cell size.
1842
1842
If both false, does not z project and
1843
1843
then does the analysis per z plane.
1844
1844
q1 (float): if float, adds in IQR filter
@@ -1891,7 +1891,11 @@ def number_of_puncta_per_segmented_cell_with_threshold(
1891
1891
upper_cell_size_threshold = upper_cell_size_threshold ,
1892
1892
z_project = z_project_first ,
1893
1893
)
1894
- image_size = cell_mask .shape if len (cell_mask .shape ) < 2 else cell_mask .shape [:- 1 ]
1894
+ image_size = (
1895
+ cell_mask .shape
1896
+ if len (cell_mask .shape ) < 2
1897
+ else cell_mask .shape [:- 1 ]
1898
+ )
1895
1899
1896
1900
x_m = centroids [:, 0 ]
1897
1901
y_m = centroids [:, 1 ]
You can’t perform that action at this time.
0 commit comments