Skip to content

Commit 2dfc289

Browse files
committed
fixed bug img->image
1 parent 7462624 commit 2dfc289

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "fishfeats"
7-
version = "1.4.1"
7+
version = "1.4.2"
88
description = "Napari plugin for RNA-Fish+cells analysis pipeline"
99
license.file = "LICENSE"
1010
readme = "README.md"

src/fish_feats/MainImage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def popFromJunctions(self, proj=None, zpos=False ):
502502
zmap = self.calculate_zmap(proj, step_size=200, window_size=250)
503503

504504
if self.junstain is None:
505-
junstain = self.img[self.junchan]
505+
junstain = self.image[self.junchan]
506506
else:
507507
junstain = self.junstain
508508
self.pop.createCellsFromMask(self.junmask, junstain, results, find_z=zpos, zmap = zmap, cells_direction=self.zdirection, talkative=self.verbose)
@@ -1138,7 +1138,7 @@ def calculate_zmap(self, projimg, step_size, window_size):
11381138
self.check_separation()
11391139
junstain = self.junstain
11401140
if self.junstain is None:
1141-
junstain = self.img[self.junchan]
1141+
junstain = self.image[self.junchan]
11421142
ut.show_warning("Load junction staining (separated if necessary) before")
11431143
return
11441144
zmap = np.zeros(projimg.shape, "uint8")

0 commit comments

Comments
 (0)