Permalink
Browse files

issue #387 - in get_unedited_segmented, return objects.segmented, not…

… objects.__segmented to allow ijv conversion
  • Loading branch information...
1 parent a198e84 commit 28e09929727b397f7e0af7b5a0a0f793ab690b86 Lee Kamentsky committed Sep 4, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 cellprofiler/objects.py
View
@@ -238,11 +238,9 @@ def get_unedited_segmented(self):
The default, if no unedited matrix is available, is the
segmented labeling.
"""
- if self.__segmented != None:
- if self.__unedited_segmented != None:
- return self.__unedited_segmented
- return self.__segmented
- return self.__unedited_segmented
+ if self.__unedited_segmented != None:
+ return self.__unedited_segmented
+ return self.segmented
def set_unedited_segmented(self,labels):
check_consistency(self.__segmented, labels,

0 comments on commit 28e0992

Please sign in to comment.