Skip to content

Commit 5994ef3

Browse files
committed
Remove comments as fixed
1 parent e8aa40b commit 5994ef3

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/imcflibs/imagej/objects3d.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ def segment_3d_image(imp, title=None, min_thresh=1, min_vol=None, max_vol=None):
8787
if min_vol:
8888
labeler.setMinSizeCalibrated(min_vol, img)
8989
if max_vol:
90-
labeler.setMaxSizeCalibrated(max_vol, img) # Issue with typo an
91-
# TODO: this method might not work on older Fiji deployments, needs testing
92-
# on newer versions (deprecated .setMaxsize, it's .setMaxSizeCalibrated)
93-
# TODO Keep it in mind for next Fiji deployment
94-
# labeler.setMaxsize(max_vol)
90+
labeler.setMaxSizeCalibrated(max_vol, img)
9591

9692
seg = labeler.getLabels(img)
9793
seg.setScale(cal.pixelWidth, cal.pixelDepth, cal.getUnits())

0 commit comments

Comments
 (0)