auto-options-python 0.1.7__tar.gz → 1.0.8__tar.gz
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.
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/PKG-INFO +1 -1
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/PKG-INFO +1 -1
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_version.py +3 -3
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/widget.py +1 -1
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/scratch/options.py +9 -3
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/.github/workflows/create_doc.yml +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/.github/workflows/test_and_deploy.yml +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/.gitignore +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/LICENSE +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/README.md +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/Makefile +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/make.bat +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/auto-options-python.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.array_util.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.napari_util.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.options.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.qtutil.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.widget.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/conf.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/index.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/modules.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/user/installation.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/user/introduction.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/user/user_documentation.rst +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/pyproject.toml +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/setup.cfg +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/SOURCES.txt +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/dependency_links.txt +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/requires.txt +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/top_level.txt +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/__init__.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/__init__.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_array_util.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_layouts.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_napari_util.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_options.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_qtutil.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_widget.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/array_util.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/__init__.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/base_layout.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/grid_layout.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/vertical_layout.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/napari_util.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/options.py +0 -0
- {auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/qtutil.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: auto-options-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary: Manage command options in Python and create QWidgets for them.
|
|
5
5
|
Author-email: Volker Baecker <volker.baecker@mri.cnrs.fr>, Clément Benedetti <clement.benedetti@mri.cnrs.fr>
|
|
6
6
|
License: MIT License
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: auto-options-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary: Manage command options in Python and create QWidgets for them.
|
|
5
5
|
Author-email: Volker Baecker <volker.baecker@mri.cnrs.fr>, Clément Benedetti <clement.benedetti@mri.cnrs.fr>
|
|
6
6
|
License: MIT License
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.
|
|
22
|
-
__version_tuple__ = version_tuple = (
|
|
21
|
+
__version__ = version = '1.0.8'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 0, 8)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g8b8e2d997'
|
|
@@ -393,7 +393,7 @@ class OptionsWidget(QWidget):
|
|
|
393
393
|
if not isEnabled:
|
|
394
394
|
item["value"] = None
|
|
395
395
|
continue
|
|
396
|
-
if item["type"] in ["image", "choice", "fft"]:
|
|
396
|
+
if item["type"] in ["image", "labels", "points", "choice", "fft"]:
|
|
397
397
|
text = widget.currentText()
|
|
398
398
|
item["value"] = text
|
|
399
399
|
if item["type"] == "int":
|
|
@@ -17,19 +17,25 @@ class Client:
|
|
|
17
17
|
|
|
18
18
|
def onInputChanged(self, value):
|
|
19
19
|
if not value.isnumeric():
|
|
20
|
-
self.widget.widgets["size xy"].setText(str(self.options.value("size xy")))
|
|
20
|
+
self.widget.widgets["size xy"][1].setText(str(self.options.value("size xy")))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def onChoiceChanged(self, value):
|
|
24
|
+
print("choice changed")
|
|
21
25
|
|
|
22
26
|
|
|
23
27
|
def showOptions(self):
|
|
24
28
|
# Create a Qt widget, which will be our window.
|
|
25
29
|
self.options = Options("Test_Auto_Options", "Median Filter")
|
|
26
30
|
self.options.addImage('image', value=None, transient=True)
|
|
31
|
+
self.options.addLabels()
|
|
32
|
+
self.options.addPoints()
|
|
27
33
|
self.options.addInt('size xy', value=3, widget="input", callback=self.onInputChanged)
|
|
28
34
|
self.options.addInt('size z', value=1, widget="input")
|
|
29
|
-
self.options.addChoice('footprint', value=None, choices=["none", "cube", "ball", "octahedron"])
|
|
35
|
+
self.options.addChoice('footprint', value=None, choices=["none", "cube", "ball", "octahedron"], callback=self.onChoiceChanged)
|
|
30
36
|
self.options.addInt('radius', value=1, widget="input")
|
|
31
37
|
self.options.load()
|
|
32
|
-
self.widget = OptionsWidget(self.viewer, self.options, self,
|
|
38
|
+
self.widget = OptionsWidget(self.viewer, self.options, client=self, sameRowSet={"size z": True}, layout_type="vertical")
|
|
33
39
|
self.widget.addApplyButton(self.onApplyButtonClicked)
|
|
34
40
|
#self.widget.addOKButton(None)
|
|
35
41
|
#self.widget.addCancelButton(None)
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/.github/workflows/test_and_deploy.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.array_util.rst
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/autooptions.napari_util.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/docs/source/user/user_documentation.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/auto_options_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_array_util.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_layouts.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_napari_util.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_options.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_qtutil.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/_tests/test_widget.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/base_layout.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/grid_layout.py
RENAMED
|
File without changes
|
{auto_options_python-0.1.7 → auto_options_python-1.0.8}/src/autooptions/layouts/vertical_layout.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|