Skip to content

Commit

Permalink
manual genet computing removed
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcorsini committed Jan 15, 2025
1 parent ec53860 commit a612a50
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions TagLab.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,11 +1285,6 @@ def createMenuBar(self):
clearComparisonTable.setStatusTip("EClear Comparison Table")
clearComparisonTable.triggered.connect(self.clearComparisonTable)


computeGenets = QAction("Compute Genets", self)
computeGenets.setStatusTip("Compute genet information.")
computeGenets.triggered.connect(self.computeGenets)

exportGenetSVG = QAction("Export Genet Data As Shapes", self)
exportGenetSVG.setStatusTip("Export genets history of corals in SVG.")
exportGenetSVG.triggered.connect(self.exportGenetSVG)
Expand All @@ -1307,7 +1302,6 @@ def createMenuBar(self):
self.comparemenu.addAction(exportMatchLabels)

self.comparemenu.addSeparator()
self.comparemenu.addAction(computeGenets);
self.comparemenu.addAction(exportGenetSVG)
self.comparemenu.addAction(exportGenetCSV)

Expand Down Expand Up @@ -1542,17 +1536,6 @@ def switch(self):
if self.split_screen_flag:
self.toggleRGBDEM(self.viewerplus2)

@pyqtSlot()
def computeGenets(self):

img_source_index = self.comboboxSourceImage.currentIndex()
img_target_index = self.comboboxTargetImage.currentIndex()
updated_corresp = self.project.updateGenets(img_source_index, img_target_index)
if self.compare_panel.correspondences is None:
self.compare_panel.setTable(self.project, img_source_index, img_target_index)
else:
self.compare_panel.updateTable(updated_corresp)

@pyqtSlot()
def exportGenetSVG(self):
filters = "SVG (*.svg)"
Expand Down

0 comments on commit a612a50

Please sign in to comment.