dragon-ml-toolbox 3.12.3__py3-none-any.whl → 3.12.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dragon-ml-toolbox might be problematic. Click here for more details.
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/METADATA +1 -1
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/RECORD +7 -7
- ml_tools/GUI_tools.py +12 -5
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/WHEEL +0 -0
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/licenses/LICENSE +0 -0
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/licenses/LICENSE-THIRD-PARTY.md +0 -0
- {dragon_ml_toolbox-3.12.3.dist-info → dragon_ml_toolbox-3.12.4.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
dragon_ml_toolbox-3.12.
|
|
2
|
-
dragon_ml_toolbox-3.12.
|
|
1
|
+
dragon_ml_toolbox-3.12.4.dist-info/licenses/LICENSE,sha256=2uUFNy7D0TLgHim1K5s3DIJ4q_KvxEXVilnU20cWliY,1066
|
|
2
|
+
dragon_ml_toolbox-3.12.4.dist-info/licenses/LICENSE-THIRD-PARTY.md,sha256=lY4_rJPnLnMu7YBQaY-_iz1JRDcLdQzNCyeLAF1glJY,1837
|
|
3
3
|
ml_tools/ETL_engineering.py,sha256=yeZsW_7zRvEcuMZbM4E2GV1dxwBoWIeJAcFFk2AK0fY,39502
|
|
4
|
-
ml_tools/GUI_tools.py,sha256=
|
|
4
|
+
ml_tools/GUI_tools.py,sha256=H-S-6qiGQDb8SIp8KXMQRidpTRezOqBz0jaRedUlawA,43328
|
|
5
5
|
ml_tools/MICE_imputation.py,sha256=7CDsIQxx5Jb_DwPAmWmz3FXcn85sUyH7g9UcZ1_E07s,11412
|
|
6
6
|
ml_tools/ML_callbacks.py,sha256=g_9nSzoA22UJOQZCPKeDz-Ayh0ECFZLzRd6rZ8SokrE,13080
|
|
7
7
|
ml_tools/ML_evaluation.py,sha256=oiDV6HItQloUUKCUpltV-2pogubWLBieGpc-VUwosAQ,10106
|
|
@@ -20,7 +20,7 @@ ml_tools/keys.py,sha256=3YVbcYARSjE3vKr_6PavJSf7vXvlos7szu3qva4T3Ts,781
|
|
|
20
20
|
ml_tools/logger.py,sha256=UkbiU9ihBhw9VKyn3rZzisdClWV94EBV6B09_D0iUU0,6026
|
|
21
21
|
ml_tools/path_manager.py,sha256=1LD9JFzqVyJQl2kTA7tK930_IV3qxfiV4cMIBzItytY,8309
|
|
22
22
|
ml_tools/utilities.py,sha256=Vh4ZdI03g8EpgQL7KDwnAw2vtBlHtx6KxCuAATxLvT4,24208
|
|
23
|
-
dragon_ml_toolbox-3.12.
|
|
24
|
-
dragon_ml_toolbox-3.12.
|
|
25
|
-
dragon_ml_toolbox-3.12.
|
|
26
|
-
dragon_ml_toolbox-3.12.
|
|
23
|
+
dragon_ml_toolbox-3.12.4.dist-info/METADATA,sha256=Bxg7mUA0PgndAOYuUOff1aIDYtaow3pNPk2pcfFcMCM,3274
|
|
24
|
+
dragon_ml_toolbox-3.12.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
25
|
+
dragon_ml_toolbox-3.12.4.dist-info/top_level.txt,sha256=wm-oxax3ciyez6VoO4zsFd-gSok2VipYXnbg3TH9PtU,9
|
|
26
|
+
dragon_ml_toolbox-3.12.4.dist-info/RECORD,,
|
ml_tools/GUI_tools.py
CHANGED
|
@@ -68,7 +68,7 @@ class ConfigManager:
|
|
|
68
68
|
if not config_path.exists():
|
|
69
69
|
raise FileNotFoundError(f"Configuration file not found at: {config_path}")
|
|
70
70
|
|
|
71
|
-
parser = configparser.ConfigParser(comment_prefixes=
|
|
71
|
+
parser = configparser.ConfigParser(comment_prefixes=';', inline_comment_prefixes=';')
|
|
72
72
|
parser.read(config_path)
|
|
73
73
|
|
|
74
74
|
for section in parser.sections():
|
|
@@ -130,6 +130,8 @@ class ConfigManager:
|
|
|
130
130
|
}
|
|
131
131
|
config['Colors'] = {
|
|
132
132
|
'; Use standard hex codes (e.g., #FFFFFF) or color names (e.g., white).': '',
|
|
133
|
+
'; Color for the text inside a standard input box.': '',
|
|
134
|
+
'input_text': '#000000',
|
|
133
135
|
'; Color for the text inside a disabled target/output box.': '',
|
|
134
136
|
'target_text': '#0000D0',
|
|
135
137
|
'; Background color for a disabled target/output box.': '',
|
|
@@ -247,7 +249,11 @@ class GUIFactory:
|
|
|
247
249
|
|
|
248
250
|
label = sg.Text(name, font=label_font, background_color=bg_color, key=f"_text_{name}")
|
|
249
251
|
|
|
250
|
-
input_style = {
|
|
252
|
+
input_style = {
|
|
253
|
+
"size": cfg.layout.input_size_cont, # type: ignore
|
|
254
|
+
"justification": "center",
|
|
255
|
+
"text_color": cfg.colors.input_text # type: ignore
|
|
256
|
+
}
|
|
251
257
|
if is_target:
|
|
252
258
|
input_style["text_color"] = cfg.colors.target_text # type: ignore
|
|
253
259
|
input_style["disabled_readonly_background_color"] = cfg.colors.target_background # type: ignore
|
|
@@ -297,7 +303,8 @@ class GUIFactory:
|
|
|
297
303
|
label = sg.Text(name, font=label_font, background_color=bg_color, key=f"_text_{name}")
|
|
298
304
|
element = sg.Combo(
|
|
299
305
|
values, default_value=values[0], key=name,
|
|
300
|
-
size=cfg.layout.input_size_binary, readonly=True # type: ignore
|
|
306
|
+
size=cfg.layout.input_size_binary, readonly=True, # type: ignore
|
|
307
|
+
text_color=cfg.colors.input_text # type: ignore
|
|
301
308
|
)
|
|
302
309
|
layout = [[label], [element]]
|
|
303
310
|
layout.append([sg.Text(" ", font=(cfg.fonts.font_family, 2), background_color=bg_color)]) # type: ignore
|
|
@@ -344,9 +351,9 @@ class GUIFactory:
|
|
|
344
351
|
key=name,
|
|
345
352
|
select_mode=sg.LISTBOX_SELECT_MODE_MULTIPLE,
|
|
346
353
|
size=cfg.layout.input_size_multi, # type: ignore
|
|
347
|
-
no_scrollbar=False
|
|
354
|
+
no_scrollbar=False,
|
|
355
|
+
text_color=cfg.colors.input_text # type: ignore
|
|
348
356
|
)
|
|
349
|
-
# -------------------
|
|
350
357
|
|
|
351
358
|
layout = [[label], [element]]
|
|
352
359
|
# Add a small spacer for consistent vertical alignment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|