Skip to content

Commit

Permalink
bug fix: when there are no subclones clones were not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
lchorbadjiev committed Nov 19, 2020
1 parent ea9575d commit 7627aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scgv/views/clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _select_colormap_size(self, size):
return ListedColormap(colors)

def _select_colormap(self):
self.vmax = np.max(self.model.subclone)
self.vmax = max(np.max(self.model.clone), np.max(self.model.subclone))
size = int(self.vmax)
self.cmap = self._select_colormap_size(size)

Expand Down

0 comments on commit 7627aad

Please sign in to comment.