Skip to content

Commit f145edc

Browse files
committed
fixed copy to analysis group
1 parent 66a001e commit f145edc

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

saenopy/gui/common/plot_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_copy_to_menu(self, filename):
7878
for index, folder in enumerate(self.data_folders):
7979
name, checked, files, color = folder
8080
act = QtWidgets.QAction(qta.icon("fa5s.circle", options=[dict(color=color)]), name, self)
81-
def clicked(index=index):
81+
def clicked(*, index=index):
8282
self.list.setCurrentRow(index)
8383
try:
8484
self.add_files([filename])

saenopy/gui/spheroid/analyze/plot_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class PlottingWindow(PlottingWindow):
11-
settings_key = "saenopy_sheroid"
11+
settings_key = "saenopy_spheroid"
1212
file_extension = ".saenopySpheroid"
1313

1414
dt = 1

saenopy/gui/tfm2d/modules/BatchEvaluate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import numpy as np
55
import traceback
66

7-
from saenopy.gui.tfm2d.modules.result import get_stacks2D
7+
from saenopy.gui.tfm2d.modules.result import get_stacks2D, Result2D
88
from saenopy.gui.common import QtShortCuts
99

1010
from .load_measurement_dialog import AddFilesDialog
@@ -28,6 +28,7 @@
2828
class BatchEvaluate(BatchEvaluate):
2929
settings_key = "Seanopy_deformation"
3030
file_extension = ".saenopy2D"
31+
result: Result2D = None
3132

3233
result_params = ["piv_parameters", "force_parameters"]
3334

saenopy/gui/tfm2d/modules/path_editor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
from saenopy.gui.common import QtShortCuts
66
from saenopy.gui.solver.modules.path_editor import PathChanger
7+
from saenopy.gui.tfm2d.modules.result import Result2D
78

89

9-
def start_path_change(parent, result):
10+
def start_path_change(parent, result: Result2D):
1011
path_editor = PathEditor(parent, result)
1112
if not path_editor.exec():
1213
return

0 commit comments

Comments
 (0)