Skip to content

Commit dfd1136

Browse files
authored
Merge pull request #3 from Soungai00/anf2025
add genext to pyproject scripts & load preset from defaults
2 parents 7155cd8 + cf52847 commit dfd1136

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ classifiers = [
5050

5151
[project.scripts]
5252
genapp = "pymodaq_plugins_teaching.app.gen_app:main"
53+
genext = "pymodaq_plugins_teaching.extensions.gen_ext:main"
5354

5455
[build-system]
5556
requires = [

src/pymodaq_plugins_teaching/extensions/gen_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def main():
101101

102102
app = mkQApp('GenExt')
103103

104-
preset_file_name = plugin_config('preset')
104+
preset_file_name = plugin_config('defaults', 'preset')
105105
dashboard, extension, win = load_dashboard_with_preset(preset_file_name, EXTENSION_NAME)
106106
app.exec()
107107

0 commit comments

Comments
 (0)