Skip to content

Commit aed41c3

Browse files
SierdCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6599118 commit aed41c3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

aeolis/gui/visualizers/domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _update_or_create_colorbar(self, im, label):
117117
self.colorbar.update_normal(im)
118118
self.colorbar.set_label(label)
119119
return self.colorbar
120-
except:
120+
except Exception:
121121
# If update fails, create new one
122122
pass
123123

aeolis/gui/visualizers/model_runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
import threading
1313
import logging
1414
import traceback
15-
from tkinter import messagebox, END, WORD, NORMAL, DISABLED, Text
16-
from tkinter import ttk
15+
from tkinter import messagebox, END, NORMAL, DISABLED
1716

1817

1918
class ModelRunner:

aeolis/gui/visualizers/output_1d.py

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

1818

1919
from aeolis.gui.utils import (
20-
NC_COORD_VARS, VARIABLE_LABELS, VARIABLE_TITLES,
20+
NC_COORD_VARS,
2121
resolve_file_path, extract_time_slice
2222
)
2323

0 commit comments

Comments
 (0)