From cf4cc7b5a8328328a1e72fc4943c24a43acff6d7 Mon Sep 17 00:00:00 2001 From: Andreas M Arnold Date: Tue, 28 Nov 2023 17:17:19 -0500 Subject: [PATCH 1/3] reset output to none after Finish --- src/affinder/affinder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/affinder/affinder.py b/src/affinder/affinder.py index 798e07a..6c4b00d 100644 --- a/src/affinder/affinder.py +++ b/src/affinder/affinder.py @@ -208,6 +208,7 @@ def start_affinder( if delete_pts: start_affinder.remove_points_layers() start_affinder._call_button.text = 'Start' + start_affinder.output = None def calculate_transform(src, dst, model_class=AffineTransform): From 7b7f766444e2be6b77d5bf3496a085a23426520a Mon Sep 17 00:00:00 2001 From: Andreas M Arnold Date: Tue, 28 Nov 2023 17:30:02 -0500 Subject: [PATCH 2/3] Revert "reset output to none after Finish" This reverts commit d03ca1c2c278de2b2f72e31af4b7b4c6d0eafc9a. --- src/affinder/affinder.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/affinder/affinder.py b/src/affinder/affinder.py index 6c4b00d..798e07a 100644 --- a/src/affinder/affinder.py +++ b/src/affinder/affinder.py @@ -208,7 +208,6 @@ def start_affinder( if delete_pts: start_affinder.remove_points_layers() start_affinder._call_button.text = 'Start' - start_affinder.output = None def calculate_transform(src, dst, model_class=AffineTransform): From 859eff6c180d25461779114eb6f5f058b552911e Mon Sep 17 00:00:00 2001 From: Andreas M Arnold Date: Tue, 13 Feb 2024 17:34:30 -0500 Subject: [PATCH 3/3] Change label and filter for select output file --- src/affinder/affinder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/affinder/affinder.py b/src/affinder/affinder.py index 798e07a..4da9bb5 100644 --- a/src/affinder/affinder.py +++ b/src/affinder/affinder.py @@ -129,7 +129,7 @@ def _on_affinder_main_init(widget): widget_init=_on_affinder_main_init, call_button='Start', layout='vertical', - output={'mode': 'w'}, + output={'mode': 'w', 'label': 'Save transformation as', 'filter': '*.txt'}, viewer={'visible': False, 'label': ' '}, delete_pts={ 'label':