Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Fixed wrong variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggirelli committed Aug 22, 2018
1 parent 85e146d commit c2af00f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- `gpseq_anim`
+ Crash when 2D mask folder is not provided.
+ Wrong variable name in `anim.series.Series`.

### Removed
- `gpseq_fromfish`
Expand Down
6 changes: 3 additions & 3 deletions pygpseq/anim/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,10 @@ def find_nuclei(self, **kwargs):

# Save mask
log += self.printout('Saving series object mask...', 2)
if 1 == np.max(imbin):
L = label(imbin)
if 1 == np.max(mask):
L = label(mask)
else:
L = imbin
L = mask

# Export binary mask as TIF
if not type(None) == type(mask_tiff_dir) and not already_segmented:
Expand Down

0 comments on commit c2af00f

Please sign in to comment.