Skip to content

Commit

Permalink
set the translation of the segmentation layer
Browse files Browse the repository at this point in the history
  • Loading branch information
volker-baecker committed Nov 25, 2024
1 parent dbfe0b7 commit de98dc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/segment_embryo/_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def _new_segmentation(self, mask):
name = "Labels of " + membranesLayerName
self.viewer.add_labels(mask, name=name)
self.viewer.layers[name].scale = self.viewer.layers[membranesLayerName].scale[-3: ]
self.viewer.layers[name].translate = self.viewer.layers[membranesLayerName].translate[-3: ]
self.progressThread.stop()


Expand Down

0 comments on commit de98dc7

Please sign in to comment.