Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gene Info crashes after selection and commit #87

Open
BlazZupan opened this issue Oct 23, 2016 · 0 comments
Open

Gene Info crashes after selection and commit #87

BlazZupan opened this issue Oct 23, 2016 · 0 comments

Comments

@BlazZupan
Copy link
Contributor

Orange version

3.3.8

Orange-Bioinformatics version

2.6.19

Expected behavior

The widget should support selection of genes (rows).

Actual behavior

Widget often crashes after various types of selections.

Error encountered in widget Gene Info:

Traceback (most recent call last):
  File "/Applications/Orange3.app/Contents/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Orange/widgets/gui.py", line 2080, in do_commit
    commit()
  File "/Applications/Orange3.app/Contents/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/orangecontrib/bio/widgets3/OWGeneInfo.py", line 577, in commit
    newdata[:, meta] = col_data
  File "/Applications/Orange3.app/Contents/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Orange/data/table.py", line 784, in __setitem__
    self.metas[row_idx, meta_cols] = value
ValueError: could not broadcast input array from shape (3) into shape (3,1)
Steps to reproduce the behavior

File->Data Table->Gene Info->Data Table, using brown-selected, where we have selected about ten rows in the first Data Table. Any selection in the Gene Info should then propagate the corresponding data rows to the second Data Table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant