Skip to content

Commit

Permalink
Merge branch 'main' into continue_track_point_button
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Feb 19, 2025
2 parents e644c58 + d4d778a commit f8a5901
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,12 @@ def _finish(self) -> None:

if self.menu_widget.segmentation_checkbox.isChecked():
self.segmentation_page._load_segmentation()
segmentation = self.segmentation_page.segmentation
else:
self.segmentation_page.segmentation = None
segmentation = None

try:
self.tracks = tracks_from_df(
df, self.segmentation_page.segmentation, scale, features
)
self.tracks = tracks_from_df(df, segmentation, scale, features)

except ValueError as e:
QMessageBox.critical(self, "Error", f"Failed to load tracks: {e}")
Expand Down

0 comments on commit f8a5901

Please sign in to comment.