Describe the bug
Genialis Expressions fails to load metadata from the collections using the General descriptor schema. This schema introduced additional nesting of the groups, and the existing implementation does not support parsing those group labels.
To Reproduce
Steps to reproduce the behavior:
Go to Bioinformatics and select the Genialis Expressions widget
Click on the widget and select a collection using the general descriptor schema
Add-on Version 4.5.1.dev10+g9d34610 (latest master)
Additional context
Full traceback:
2022-09-28 12:44:04,717:ERROR:resdk:
Traceback (most recent call last):
File "orange-3/lib/python3.8/site-packages/Orange/widgets/utils/concurrent.py", line 591, in _on_task_done
super()._on_task_done(future)
File "orange-3/lib/python3.8/site-packages/Orange/widgets/utils/concurrent.py", line 547, in _on_task_done
self.on_exception(ex)
File "orange-3/lib/python3.8/site-packages/orangecontrib/bioinformatics/widgets/OWGenialisExpressions.py", line 549, in on_exception
raise ex
File ".pyenv/versions/3.8.2/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "orange-3/lib/python3.8/site-packages/orangecontrib/bioinformatics/widgets/OWGenialisExpressions.py", line 627, in runner
section_name, field_name = path.split('.')
ValueError: too many values to unpack (expected 2)
Traceback (most recent call last):
File "orange-3/lib/python3.8/site-packages/Orange/widgets/utils/concurrent.py", line 591, in _on_task_done
super()._on_task_done(future)
File "orange-3/lib/python3.8/site-packages/Orange/widgets/utils/concurrent.py", line 547, in _on_task_done
self.on_exception(ex)
File "orange-3/lib/python3.8/site-packages/orangecontrib/bioinformatics/widgets/OWGenialisExpressions.py", line 549, in on_exception
raise ex
File ".pyenv/versions/3.8.2/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "orange-3/lib/python3.8/site-packages/orangecontrib/bioinformatics/widgets/OWGenialisExpressions.py", line 627, in runner
section_name, field_name = path.split('.')
ValueError: too many values to unpack (expected 2)
Describe the bug Genialis Expressions fails to load metadata from the collections using the General descriptor schema. This schema introduced additional nesting of the groups, and the existing implementation does not support parsing those group labels.
To Reproduce Steps to reproduce the behavior:
Expected behavior Genialis Expressions widget correctly parses descriptor schemas with additional nesting.
Desktop (please complete the following information):
Additional context Full traceback: